Sha256: 98cba1410618293a88169ce362ddd866029e493123634482def596adfce90326

Contents?: true

Size: 1.47 KB

Versions: 2

Compression:

Stored size: 1.47 KB

Contents

= foundation_devise_error_messages!
.large-3.large-centered.columns
  .login-box
    .row
      .large-12.columns
        = form_for(resource, :as => resource_name, :url => registration_path(resource_name), :html => { :method => :put }) do |f|
          .row
            h5.text-center= t('.title', :resource => resource_class.model_name.human , :default => "Edit # resource_name.to_s.humanize ")
          .row
            = f.email_field :email, autofocus: true, class: "large-12 columns", placeholder: "Email"
          .row
            = f.password_field :password, autocomplete: "off", class: "large-12 columns", placeholder: "Password", title: "leave blank if you don't want to change it"
          .row
            = f.password_field :password_confirmation, autocomplete: "off", class: "large-12 columns", placeholder: "Password Confirmation"
          .row
            = f.password_field :current_password, autocomplete: "off", class: "large-12 columns", placeholder: "Current Password", title: "we need your current password to confirm your changes"
          .row
            = f.submit t('.update', :default => "Update"), class: "button expand large-12 large-centered columns"
      p
        = t('.unhappy', :default => 'Unhappy')
        | ? #{link_to t('.cancel_my_account', :default => "Cancel my account"), registration_path(resource_name), :data => { :confirm => t('.are_you_sure', :default => "Are you sure?") }, :method => :delete}.
      = link_to t('.back', :default => 'Back'), :back
 

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
devise-foundation-views-0.1.0 app/views/devise_slim/registrations/edit.html.slim
devise-foundation-views-0.0.1 app/views/devise_slim/registrations/edit.html.slim