<%= resource_name.to_s.humanize %> bearbeiten

<%= simple_form_for(resource, :as => resource_name, :url => registration_path(resource_name), :html => { :method => :put }) do |f| %> <%= f.error_notification %>
<%= f.input :email, :required => true, :autofocus => true %> <% if devise_mapping.confirmable? && resource.pending_reconfirmation? %>

Currently waiting confirmation for: <%= resource.unconfirmed_email %>

<% end %> <%= f.input :password, :autocomplete => "off", :hint => "leer lassen, falls Sie es nicht ändern möchten", :required => false %> <%= f.input :password_confirmation, :required => false %> <%= f.input :current_password, :hint => "Wir brauchen Ihr aktuelles Passwort, um Ihre Änderungen zu bestätigen", :required => true %>
<%= f.button :submit, "Aktualisieren", :class=>'btn btn-primary' %>
<% end %>

Mein Konto kündigen

Unzufrieden? <%= link_to "Mein Konto kündigen", registration_path(resource_name), :data => { :confirm => "Sind Sie sicher?" }, :method => :delete, :class=>'btn btn-danger btn-mini' %>.

<%= link_to "Zurück", :back %>