Sha256: 04421df2399d10591011810f5c50234fb1eb71db138e03dc1edbd314605eb9ab
Contents?: true
Size: 1.02 KB
Versions: 11
Compression:
Stored size: 1.02 KB
Contents
%section.section .container %h1.section-title Edit Account .form-container = simple_form_for(resource, as: resource_name, url: registration_path(resource_name), html: { method: :put }) do |f| = f.error_notification .form-inputs = f.input :email, required: true, autofocus: true - if devise_mapping.confirmable? && resource.pending_reconfirmation? %p Currently waiting confirmation for: #{resource.unconfirmed_email} = f.input :password, autocomplete: "off", hint: "leave blank if you don't want to change it", required: false = f.input :password_confirmation, required: false = f.input :current_password, required: true .form-actions = f.button :submit, "Update" .form-container %p Unhappy? #{link_to "Cancel my account", registration_path(resource_name), data: { confirm: "Are you sure? Your account and application will be permanently erased." }, method: :delete} = link_to "Back", :back
Version data entries
11 entries across 11 versions & 1 rubygems