]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/confirmations/confirm.html.erb
Rework confirmations page to avoid raw html in translations
[rails.git] / app / views / confirmations / confirm.html.erb
index 75d72487c482e117cebf3a20066f2017fed216f1..879fb8f337cebf45c1a4f15ff46efdd1d5c422a6 100644 (file)
@@ -1,7 +1,8 @@
-<% content_for :heading_class, "header-illustration-heading" %>
+<% content_for :heading_class, "pb-0" %>
 <% content_for :heading do %>
-  <h1><%= t ".heading" %></h1>
-  <div class='header-illustration confirm-main'></div>
+  <div class='header-illustration confirm-main'>
+    <h1><%= t ".heading" %></h1>
+  </div>
 <% end %>
 
 <% if params[:confirm_string] %>
@@ -26,6 +27,8 @@
     </span>
   </h1>
 
-  <p class='text-muted'><%= t ".reconfirm_html",
-                              :reconfirm => url_for(:action => "confirm_resend") %></p>
+  <p class='text-muted'>
+    <%= t ".resend_html",
+          :reconfirm_link => link_to(t(".click_here"), url_for(:action => "confirm_resend")) %>
+  </p>
 <% end %>