Sha256: 2d748f83b183f865f08218a77dfbc03344e9098c9c17ae1e20a7585620a95c1f

Contents?: true

Size: 1.5 KB

Versions: 40

Compression:

Stored size: 1.5 KB

Contents

- title = t( '%s.%s.title' % [resource_class.table_name,params[:action]])
- content_for :title do
  = title

%h3= title

= simple_form_for(resource, as: resource_name, url: registration_path(resource_name), html: { method: :put, class: 'col sl12', role: 'form'}) do |f|
  = f.error_notification

  .form-inputs
    .row
      .input-field.col.s12
        = f.input :name, class: :validate, autofocus: true

    .row
      .input-field.col.s12
        = f.input :email, class: :validate, autofocus: true

    .row
      .input-field.col.sl12
        %p.col= t('.leave_blank_if_no_change')
      .input-field.col.s12.m6
        = f.input :password, class: :validate, autofocus: true, autocomplete: 'off'

      .input-field.col.s12.m6
        = f.input :password_confirmation, class: :validate, autofocus: true


    .row
      .input-field.col.sl12
        %p.col= t('.current_password_required_to_make_changes')
      .input-field.col.s12
        = f.input :current_password, class: :validate, autofocus: true

    .row
      .col.sl12{ style: "margin-bottom: 30px"}
    %hr

    .row{ style: "margin-right: 0px"}
      .form-actions.right-align
        = f.button :submit, t('.update'), class: 'right'

%h3= t('.cancel_account')
%p= t('.unhappy_sad_to_see_you_go')

= button_to t('.cancel_account'), registration_path(resource_name), :data => { :confirm => "Are you sure?" }, :method => :delete, :class => 'btn btn-default right'


- if %w{ show edit }.include? params[:action]
  :coffeescript
    $('form label').addClass('active')

Version data entries

40 entries across 40 versions & 2 rubygems

Version Path
oxen_user-0.4.13 app/views/devise/registrations/edit.html.haml
oxen_account-0.4.14 app/views/devise/registrations/edit.html.haml
oxen_account-0.4.13 app/views/devise/registrations/edit.html.haml
oxen_user-0.4.12 app/views/devise/registrations/edit.html.haml
oxen_account-0.4.12 app/views/devise/registrations/edit.html.haml
oxen_user-0.4.11 app/views/devise/registrations/edit.html.haml
oxen_account-0.4.11 app/views/devise/registrations/edit.html.haml
oxen_user-0.4.9 app/views/devise/registrations/edit.html.haml
oxen_account-0.4.9 app/views/devise/registrations/edit.html.haml
oxen_user-0.4.8 app/views/devise/registrations/edit.html.haml
oxen_account-0.4.8 app/views/devise/registrations/edit.html.haml
oxen_user-0.4.7 app/views/devise/registrations/edit.html.haml
oxen_account-0.4.7 app/views/devise/registrations/edit.html.haml
oxen_user-0.4.3 app/views/devise/registrations/edit.html.haml
oxen_user-0.4.1 app/views/devise/registrations/edit.html.haml
oxen_account-0.4.1 app/views/devise/registrations/edit.html.haml
oxen_user-0.3.4 app/views/devise/registrations/edit.html.haml
oxen_account-0.3.4 app/views/devise/registrations/edit.html.haml
oxen_user-0.3.3 app/views/devise/registrations/edit.html.haml
oxen_account-0.3.3 app/views/devise/registrations/edit.html.haml