app/views/spotlight/exhibits/_confirmation_status.html.erb in blacklight-spotlight-3.5.0.4 vs app/views/spotlight/exhibits/_confirmation_status.html.erb in blacklight-spotlight-3.6.0.beta1
- old
+ new
@@ -2,8 +2,10 @@
<% if contact_email.confirmed? %>
<span class="confirmed"><%= blacklight_icon('check_circle') %> <%= t('.confirmed') %></span>
<% elsif contact_email.recently_sent? %>
<span class="confirmed"><%= blacklight_icon('check_circle') %> <%= t('.confirmation_sent') %></span>
<% else %>
- <span class="unconfirmed"><%= blacklight_icon('error') %> <%= t('.not_validated') %></span> <%= link_to t('.resend'), contact_email_confirmation_path(contact_email: {email: contact_email.email}), method: :post %>
+ <span class="unconfirmed"><%= blacklight_icon('error') %> <%= t('.not_validated') %></span>
+ <%= link_to t('.resend'), contact_email_confirmation_path(contact_email: {email: contact_email.email}),
+ data: { method: :post, turbo_method: :post } %>
<% end %>
</div>