]> 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 08ce4cc539454e02f3166332b3da6d02e3521bba..d2b2f6d3b40daeb0bc4c95ab185a012d6dd4b1d8 100644 (file)
@@ -1,10 +1,12 @@
+<% content_for :heading_class, "pb-0" %>
 <% 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>
-  <h2><%= raw t 'users.new.contact_webmaster', :webmaster => "mailto:#{Settings.support_email}" %></h2>
+  <h1><%= t "users.new.no_auto_account_create" %></h1>
+  <h2><%= t "users.new.please_contact_support_html", :support_link => mail_to(Settings.support_email, t("users.new.support")) %></h2>
 </div>