Sha256: 27181266b4fdae5c12eb02f609e1ad0383c98a08e6140fe4150f125fd3cf62fe

Contents?: true

Size: 728 Bytes

Versions: 7

Compression:

Stored size: 728 Bytes

Contents

<h1>Edit user</h1>

<%= form_for(resource, :as => resource_name, :url => registration_path(resource_name)) do |f| %>

  <%= devise_error_messages! %>
  <%= render 'fields', :f => f %>

  <div class="field">
    <%= f.label :current_password %> <i>(we need your current password to confirm your changes)</i><br />
    <%= f.password_field :current_password %>
  </div>

  <div class="actions">
    <%= f.submit "Update" %>
  </div>

<% end %>

<div>
  <%= gravatar_for @user %>
  <a href="http://gravatar.com/emails">change</a>
</div>

<h3>Cancel my account</h3>

<p>Unhappy? <%= link_to "Cancel my account", registration_path(resource_name), :confirm => "Are you sure?", :method => :delete %>.</p>

<%= link_to "Back", :back %>

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
tft_rails_dbc-0.1.3 lib/generators/chapter08_09/solutions/templates/app/views/devise/registrations/edit.html.erb
tft_rails_dbc-0.1.1 lib/generators/chapter08_09/solutions/templates/app/views/devise/registrations/edit.html.erb
tft_rails_dbc-0.1 lib/generators/chapter08_09/solutions/templates/app/views/devise/registrations/edit.html.erb
tft_rails-0.6.2 lib/generators/chapter08_09/solutions/templates/app/views/devise/registrations/edit.html.erb
tft_rails-0.6.1 lib/generators/chapter08_09/solutions/templates/app/views/devise/registrations/edit.html.erb
tft_rails-0.6.0 lib/generators/chapter08_09/solutions/templates/app/views/devise/registrations/edit.html.erb
tft_rails-0.5.1 lib/generators/chapter08_09/solutions/templates/app/views/devise/registrations/edit.html.erb