Sha256: 332f7ec7415aff48ed813b07e32f00fc511281dcbfe8bfb7362c3d3bac53470a
Contents?: true
Size: 1.52 KB
Versions: 8
Compression:
Stored size: 1.52 KB
Contents
.wrap.wrap--padded.account .wrap.wrap__narrow .gs--m .g-3--m.g-gutter--right = render 'c/main_application/account_menu' .g-9--m .account__content %h2 Edit your details = form_for(resource, as: resource_name, url: registration_path(resource_name), html: { method: :put }) do |f| = devise_error_messages! .field = f.label :email = f.email_field :email, autofocus: true - if devise_mapping.confirmable? && resource.pending_reconfirmation? %div Currently waiting confirmation for: = resource.unconfirmed_email .field = f.label :password %i (leave blank if you don't want to change it) = f.password_field :password, autocomplete: 'off' .field = f.label :password_confirmation = f.password_field :password_confirmation, autocomplete: 'off' .field = f.label :current_password = f.password_field :current_password, autocomplete: 'off' .actions = f.submit 'Update', class: 'btn' %h3 Cancel my account %p = button_to 'Cancel my account', registration_path(resource_name), data: { confirm: 'Are you sure?' }, method: :delete, class: 'btn btn--secondary'
Version data entries
8 entries across 8 versions & 1 rubygems