Sha256: fb2902e7627969d1f62c6f756ce42c050e282b1ece2ff3769713f94b2afe3f1a
Contents?: true
Size: 1.61 KB
Versions: 1
Compression:
Stored size: 1.61 KB
Contents
<div class="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 %> </h2> <%= devise_error_messages! %> <div> <%= f.email_field :email, :autofocus => true, :placeholder => 'Email' %> </div> <% if devise_mapping.confirmable? && resource.pending_reconfirmation? %> <div> Currently waiting confirmation for: #{resource.unconfirmed_email} </div> <% end %> <div> <%= f.label :password %> <i> ( #{t('carnival_devise.registrations.blank_message')} ) </i> <br/> <%= f.password_field :password, :autocomplete => "off", :placeholder => 'Password' %> </div> <div> <%= f.label :password_confirmation %> <br/> <%= f.password_field :password_confirmation, :placeholder => 'Password Confirmation' %> </div> <div> <%= f.label :current_password %> <i> ( #{t('carnival_devise.registrations.confirm')} ) </i> <br/> <%= f.password_field :current_password %> </div> <div> <%= f.submit t('carnival_devise.registrations.update'),:class => "button" %> </div> <% end %> <!-- %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 --> </div>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
carnival_devise_views-0.0.3 | app/views/erb/devise/registrations/edit.html.erb |