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

Version Path
hackathon_manager-0.4.4 app/views/devise/registrations/edit.html.haml
hackathon_manager-0.4.3 app/views/devise/registrations/edit.html.haml
hackathon_manager-0.4.2 app/views/devise/registrations/edit.html.haml
hackathon_manager-0.4.1 app/views/devise/registrations/edit.html.haml
hackathon_manager-0.4.0 app/views/devise/registrations/edit.html.haml
hackathon_manager-0.3.3 app/views/devise/registrations/edit.html.haml
hackathon_manager-0.3.2 app/views/devise/registrations/edit.html.haml
hackathon_manager-0.3.1 app/views/devise/registrations/edit.html.haml
hackathon_manager-0.3.0 app/views/devise/registrations/edit.html.haml
hackathon_manager-0.2.0 app/views/devise/registrations/edit.html.haml
hackathon_manager-0.1.0 app/views/devise/registrations/edit.html.haml