Sha256: 21036215e1e1f191425f5f275970b5aef50f5453df7550798cc02528df308724

Contents?: true

Size: 665 Bytes

Versions: 5

Compression:

Stored size: 665 Bytes

Contents

<h1><%%= t 'janus.passwords.edit.change_password' %></h1>

<%%= form_for @<%= singular_name %>, :url => <%= singular_name %>_password_path, :method => :put do |f| %>
  <%%= janus_error_messages %>

  <%%= f.hidden_field :reset_password_token %>
  <%%= hidden_field_tag :return_to, params[:return_to] if params[:return_to] %>

  <div class="field">
    <%%= f.label :password %>
    <%%= f.password_field :password %>
  </div>

  <div class="field">
    <%%= f.label :password_confirmation %>
    <%%= f.password_field :password_confirmation %>
  </div>

  <div class="actions">
    <%%= f.submit t('janus.passwords.edit.change_password_btn') %>
  </div>
<%% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
janus-0.10.1 lib/generators/templates/passwords/edit.html.erb
janus-0.10.0 lib/generators/templates/passwords/edit.html.erb
janus-0.9.1 lib/generators/templates/passwords/edit.html.erb
janus-0.9.0 lib/generators/templates/passwords/edit.html.erb
janus-0.8.1 lib/generators/templates/passwords/edit.html.erb