Created
June 4, 2018 09:48
-
-
Save dareddov/7f55178bb39a5155f07fc4ca53d9e91a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="row"> | |
<div class="col-lg-6 col-lg-offset-3 col-md-6 col-md-offset-3"> | |
<div class="row"> | |
<div class="col-sm-9 col-sm-offset-3"> | |
<%= image_tag "Bode_BLK.svg", class: "devise-logo" %> | |
<h2 class="text-center">Change your password</h2> | |
</div> | |
</div> | |
<%= simple_form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put }) do |f| %> | |
<%= f.error_notification %> | |
<div class="form-inputs"> | |
<%= f.input :password, autofocus: true, hint: ("#{@minimum_password_length} characters minimum" if @minimum_password_length) %> | |
<%= f.input :password_confirmation %> | |
</div> | |
<div class="row"> | |
<div class="col-sm-9 col-sm-offset-3"> | |
<div class="form-actions"> | |
<%= f.button :submit, "Change my password", class: "btn-primary btn-block" %> | |
</div> | |
<%= render "devise/shared/links" %> | |
</div> | |
</div> | |
<% end %> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment