Sha256: cf3fd9772c7716e11fa57fc6c81a7b7d7856b23cd5928b9542c3f6ff8ce1ba09

Contents?: true

Size: 1.35 KB

Versions: 5

Compression:

Stored size: 1.35 KB

Contents

.login-container.edit-user
  = form_for(resource, :as => resource_name, :url => registration_path(resource_name), :html => { :method => :put }) do |f|
    %h2
      = t('carnival_devise.registrations.edit')
      = resource_name.to_s.humanize
    = devise_error_messages!
    %div
      = f.email_field :email, :autofocus => true, :placeholder => 'Email'
    - if devise_mapping.confirmable? && resource.pending_reconfirmation?
      %div
        Currently waiting confirmation for: #{resource.unconfirmed_email}
    %div
      = f.label :password
      %i
        ( #{t('carnival_devise.registrations.blank_message')} )
      %br/
      = f.password_field :password, :autocomplete => "off", :placeholder => 'Password'
    %div
      = f.label :password_confirmation
      %br/
      = f.password_field :password_confirmation, :placeholder => 'Password Confirmation'
    %div
      = f.label :current_password
      %i
        ( #{t('carnival_devise.registrations.confirm')} )
      %br/
      = f.password_field :current_password
    %div= f.submit t('carnival_devise.registrations.update'),:class => "button"
  / %h3= t('carnival_devise.registrations.cancel')
  / %p
  /   Unhappy? #{button_to t('carnival_devise.registrations.cancel') , registration_path(resource_name), :data => { :confirm => "Are you sure?" }, :method => :delete}
  /   = link_to t('carnival_devise.back'), :back

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
carnival-0.1.3 test/carnival-sample-application/app/views/devise/registrations/edit.html.haml
carnival-0.1.2 test/carnival-sample-application/app/views/devise/registrations/edit.html.haml
carnival-0.1.1 test/carnival-sample-application/app/views/devise/registrations/edit.html.haml
carnival-0.1.0 test/carnival-sample-application/app/views/devise/registrations/edit.html.haml
carnival_devise_views-0.0.3 app/views/haml/devise/registrations/edit.html.haml