Sha256: 5ef9d33695b577f0800edf10f55f162c044464d81197230cc6186a2848598c13
Contents?: true
Size: 1.17 KB
Versions: 2
Compression:
Stored size: 1.17 KB
Contents
<div class="devise-bootstrap-form"> <div class="devise-bootstrap-form-row"> <div class="devise-bootstrap-form-col"> <h2 class="text-center">Change your password</h2> <%= bootstrap_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 %> <%= f.password_field :password, autofocus: true, autocomplete: "new-password", help: "(#{@minimum_password_length} characters minimum)", label: "New password" %> <%= f.password_field :password_confirmation, label: "Confirm new password", autocomplete: "off", class: "required" %> <%= f.form_group do %> <%= f.submit "Change my password", class: 'btn btn-primary btn-block btn-lg' %> <% end %> <% end %> <div class="text-center"> <%= render "devise/shared/links" %> </div> </div> </div> </div>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
devise-bootstrap-form-0.4.0 | app/views/devise/passwords/edit.html.erb |
devise-bootstrap-form-0.3.0 | app/views/devise/passwords/edit.html.erb |