Move reset buttons to corresponding forms

This commit is contained in:
2023-04-19 01:32:06 +02:00
parent 2d95b11a34
commit 894c21f322
8 changed files with 27 additions and 31 deletions

View File

@@ -18,8 +18,6 @@
<% else %>
<%= image_link_to t(:register), "account-plus-outline", new_user_registration_path,
unless_current: true %>
<%= image_link_to t(:recover_password), "lock-reset", new_user_password_path,
unless_current: true %>
<%= image_link_to t(:sign_in), "login", new_user_session_path, unless_current: true %>
<% end %>
</div>

View File

@@ -10,3 +10,6 @@
<%= f.submit t(:register) %>
<% end %>
<%= content_tag :p, t(:or), style: "text-align: center;" %>
<%= image_link_to t(:resend_confirmation), "email-sync-outline", new_user_confirmation_path,
class: "centered" %>

View File

@@ -8,3 +8,5 @@
<%= f.submit t(:sign_in) %>
<% end %>
<%= content_tag :p, t(:or), style: "text-align: center;" %>
<%= image_link_to t(:recover_password), "lock-reset", new_user_password_path, class: "centered" %>