Replace resent confirmation link with button

This commit is contained in:
Anton Khorev 2024-12-29 06:10:07 +03:00
parent 127e376bf0
commit fcfb7d4af1
6 changed files with 49 additions and 32 deletions

View file

@ -28,7 +28,9 @@
</h1>
<p class='text-body-secondary'>
<%= t ".resend_html",
:reconfirm_link => link_to(t(".click_here"), url_for(:action => "confirm_resend")) %>
<%= t ".if_need_resend" %>
</p>
<%= bootstrap_form_tag :url => url_for(:action => "confirm_resend") do |f| %>
<%= f.submit t(".resend_button"), :class => "btn btn-outline-primary" %>
<% end %>
<% end %>