Files
old-holivud2/app/views/password_resets/edit.html.erb
2020-05-31 22:38:19 +02:00

9 lines
475 B
Plaintext

<% content_for :page_title, t(".title") %>
<div class="col-md-4 offset-md-4 mt-5">
<%= bootstrap_form_with scope: :password_reset, url: password_reset_path(@user.password_reset_token), method: :patch, local: true, html: { autocorrect: :off, autocapitalize: :none, autocomplete: :off, spellcheck: false } do |form| %>
<%= form.password_field :password, required: true %>
<%= form.button t(".submit"), class: "btn btn-block btn-lg btn-primary" %>
<% end %>
</div>