]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/users/blocked.html.erb
Use mail_to help to avoid handcrafting mailto links
[rails.git] / app / views / users / blocked.html.erb
index ed00a8fcc4343815278ec7b1c77b8521141056d7..d2b2f6d3b40daeb0bc4c95ab185a012d6dd4b1d8 100644 (file)
@@ -1,10 +1,12 @@
+<% content_for :heading_class, "pb-0" %>
 <% content_for :heading do %>
 <% content_for :heading do %>
-  <h1><%= t "users.new.title" %></h1>
-  <div class='header-illustration new-user-main'></div>
+  <div class='header-illustration new-user-main'>
+    <h1><%= t "users.new.title" %></h1>
+  </div>
   <div class='header-illustration new-user-arm'></div>
 <% end %>
 
 <div class="message">
   <h1><%= t "users.new.no_auto_account_create" %></h1>
   <div class='header-illustration new-user-arm'></div>
 <% end %>
 
 <div class="message">
   <h1><%= t "users.new.no_auto_account_create" %></h1>
-  <h2><%= t "users.new.contact_support_html", :support => "mailto:#{Settings.support_email}" %></h2>
+  <h2><%= t "users.new.please_contact_support_html", :support_link => mail_to(Settings.support_email, t("users.new.support")) %></h2>
 </div>
 </div>