Sha256: 89c864cfc82cf666e97878e44938eb92b281ba2e0661d11e6f1f3cc12d4dec93

Contents?: true

Size: 1.18 KB

Versions: 5

Compression:

Stored size: 1.18 KB

Contents

<div id="content_detail" class="ui-corner-all ui-widget-content">
  <h2 class="title"><%= t('activerecord.models.registration') %></h2>
  <div id="content_list">

<%= form_for(resource, as: resource_name, url: registration_path(resource_name), html: { method: :put }) do |f| %>
  <%= devise_error_messages! %>

  <div class="field">
    <%= f.label :current_password %> <i>(we need your current password to confirm your changes)</i><br />
    <%= f.password_field :current_password, autocomplete: "off" %>
  </div>

  <div class="field">
    <%= f.label :password %> <i>(leave blank if you don't want to change it)</i><br />
    <%= f.password_field :password, autocomplete: "off" %>
    <% if @minimum_password_length %>
      <br />
      <em><%= @minimum_password_length %> characters minimum</em>
    <% end %>
  </div>

  <div class="field">
    <%= f.label :password_confirmation %><br />
    <%= f.password_field :password_confirmation, autocomplete: "off" %>
  </div>

  <div class="actions">
    <%= f.submit t('page.update') %>
  </div>
<% end %>

  </div>
</div>

<div id="submenu" class="ui-corner-all ui-widget-content">
  <ul>
    <li><%= link_to t('page.back'), :back %></li>
  </ul>
</div>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
enju_leaf-1.3.1 app/views/devise/registrations/edit.html.erb
enju_leaf-1.3.0 app/views/devise/registrations/edit.html.erb
enju_leaf-1.3.0.rc.1 app/views/devise/registrations/edit.html.erb
enju_leaf-1.3.0.beta.2 app/views/devise/registrations/edit.html.erb
enju_leaf-1.2.2 app/views/devise/registrations/edit.html.erb