Sha256: 5038f7215981479c3f9a60ae63870bc29c9f6a2892d217a2cb4058ed99c797a3

Contents?: true

Size: 1.02 KB

Versions: 2

Compression:

Stored size: 1.02 KB

Contents

<%- if options[:metatags] %>
<h2 class="text-center"><%%= title('Change your password') %></h2>
<% else -%>
<h2 class="text-center">Change your password</h2>
<%- end %>
<%%= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put }) do |f| %>
  <%%= render "devise/shared/error_messages", resource: resource %>
  <%%= f.hidden_field :reset_password_token %>

  <div class="field">
    <%%= f.label :password, "New password" %><br />
    <%% if @minimum_password_length %>
      <em>(<%%= @minimum_password_length %> characters minimum)</em><br />
    <%% end %>
    <%%= f.password_field :password, autofocus: true, autocomplete: "new-password" %>
  </div>

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

  <div class="form-group">
    <%%= f.submit "Change my password", class: 'btn btn-primary btn-block btn-lg' %>
  </div>
<%% end %>
<%%= render "devise/shared/links" %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bootstrap_views_generator-0.1.6 lib/generators/bootstrap/templates/devise/erb/passwords/edit.html.erb.tt
bootstrap_views_generator-0.1.5 lib/generators/bootstrap/templates/devise/erb/passwords/edit.html.erb.tt