Remove unnecessary views
This commit is contained in:
parent
78cd461873
commit
60c20e69d2
2 changed files with 0 additions and 43 deletions
|
@ -1,25 +0,0 @@
|
|||
<h2><%= translate '.change_your_password' %></h2>
|
||||
|
||||
<%= simple_form_for resource, as: resource_name, url: password_path(resource_name), html: { method: :put } do |f| %>
|
||||
<%= f.error_notification %>
|
||||
|
||||
<%= f.input :reset_password_token, as: :hidden %>
|
||||
<%= f.full_error :reset_password_token %>
|
||||
|
||||
<div class="form-inputs">
|
||||
<%= f.input :password,
|
||||
label: translate('.new_password'),
|
||||
required: true,
|
||||
autofocus: true,
|
||||
hint: (translate('devise.shared.minimum_password_length', count: @minimum_password_length) if @minimum_password_length),
|
||||
input_html: { autocomplete: 'new-password' } %>
|
||||
|
||||
<%= f.input :password_confirmation, label: translate('.confirm_new_password'), required: true %>
|
||||
</div>
|
||||
|
||||
<div class="form-actions">
|
||||
<%= f.button :submit, translate('.change_my_password') %>
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
<%= render 'users/shared/links' %>
|
|
@ -1,18 +0,0 @@
|
|||
<h2><%= translate '.forgot_your_password' %></h2>
|
||||
|
||||
<%= simple_form_for resource, as: resource_name, url: password_path(resource_name), html: { method: :post } do |f| %>
|
||||
<%= f.error_notification %>
|
||||
|
||||
<div class="form-inputs">
|
||||
<%= f.input :email,
|
||||
required: true,
|
||||
autofocus: true,
|
||||
input_html: { autocomplete: 'email' } %>
|
||||
</div>
|
||||
|
||||
<div class="form-actions">
|
||||
<%= f.button :submit, translate('.send_me_reset_password_instructions') %>
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
<%= render 'users/shared/links' %>
|
Reference in a new issue