Sha256: bed301faf4679e925f9f448acb7a45eca3ec2279a84c7c424ceb971ac23cf6d7

Contents?: true

Size: 1.11 KB

Versions: 1

Compression:

Stored size: 1.11 KB

Contents

<h2>Edit <%= resource_name.to_s.humanize %></h2>

<%= simple_form_for(resource, :as => resource_name, :url => registration_path(resource_name), :html => { :method => :put }) do |f| %>
  <%= f.error_notification %>

  <%= f.input :name %>
  <%= f.input :email %>
  <%= f.input :gender, as: :radio_buttons, collection: [:female, :male] %>
  <%= f.input :birthday, as: :string %>
  <%= f.input :location %>
  <%= f.input :bio, as: :text %>

  <%= image_tag(@user.avatar.thumb.url) if @user.avatar? %>
  <%= f.input :avatar, as: :file %>
  <%= f.hidden_field :avatar_cache %>

  <div class="form-group">
    <%= f.button :submit, "Update" %>
  </div>
<% end %>

<%= link_to t('raddar.users.passwords.change.title'), raddar.change_user_password_path %>

<%= link_to t('raddar.users.privacies.edit.title'), raddar.edit_user_privacy_path %>

<%= link_to t('raddar.users.email_preferences.edit.title'), raddar.edit_user_email_preferences_path %>

<%= link_to t('raddar.users.external_accounts.index.title'), raddar.user_external_accounts_path %>

<%= link_to t('raddar.users.registrations.destroy.title'), raddar.destroy_user_registration_path %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
raddar-0.0.1.pre app/views/raddar/users/registrations/edit.html.erb