Sha256: 80a00fc4609bbf6a742b0eedcea0b70df06627e63e173229f58c87d9276da8bd

Contents?: true

Size: 1.17 KB

Versions: 1

Compression:

Stored size: 1.17 KB

Contents

%h2
  = t('carnival_devise.registrations.edit')
  = resource_name.to_s.humanize
= form_for(resource, :as => resource_name, :url => registration_path(resource_name), :html => { :method => :put }) do |f|
  = devise_error_messages!
  %div
    = f.label :email
    %br/
    = f.email_field :email, :autofocus => true
  - 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"
  %div
    = f.label :password_confirmation
    %br/
    = f.password_field :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')
%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

1 entries across 1 versions & 1 rubygems

Version Path
carnival_devise_views-0.0.2 app/views/haml/devise/registrations/edit.html.haml