Sha256: 48f4857bf97f9d1896894f6f47d25a3f39a9ec7a7346d753d359348426872f0c
Contents?: true
Size: 1.7 KB
Versions: 2
Compression:
Stored size: 1.7 KB
Contents
<%= foundation_devise_error_messages! %> <div class="large-3 large-centered columns"> <div class="login-box"> <div class="row"> <div class="large-12 columns"> <%= form_for(resource, :as => resource_name, :url => registration_path(resource_name), :html => { :method => :put }) do |f| %> <div class="row"> <h5 class="text-center"><%= t('.title', :resource => resource_class.model_name.human , :default => "Edit #{resource_name.to_s.humanize}") %></h5> </div> <div class="row"> <%= f.email_field :email, autofocus: true, class: "large-12 columns", placeholder: "Email"%> </div> <div class="row"> <%= f.password_field :password, autocomplete: "off", class: "large-12 columns", placeholder: "Password", title: "leave blank if you don't want to change it" %> </div> <div class="row"> <%= f.password_field :password_confirmation, autocomplete: "off", class: "large-12 columns", placeholder: "Password Confirmation"%> </div> <div class="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"%> </div> <div class="row"> <%= f.submit t('.update', :default => "Update"), class: "button expand large-12 large-centered columns" %> </div> <% end %> </div> <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 %>.</p> <%= link_to t('.back', :default => 'Back'), :back %> </div> </div> </div>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
devise-foundation-views-0.1.0 | app/views/devise/registrations/edit.html.erb |
devise-foundation-views-0.0.1 | app/views/devise/registrations/edit.html.erb |