]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/user_blocks/new.html.erb
Avoid having to condition on mobile mode
[rails.git] / app / views / user_blocks / new.html.erb
index 3d3e6855c5cf835d8bffc82eafbd5a882de849be..80854b840c3d3d921c36bd2ca2cc344dcb72cda2 100644 (file)
@@ -1,10 +1,10 @@
 <% @title = t 'user_block.new.title', :name => h(@this_user.display_name) %>
-<h1><%= t('user_block.new.heading',
-          :name => link_to(
-                           h(@this_user.display_name),
-                           {:controller => 'user', :action => 'view', :display_name => @this_user.display_name})) %></h1>
+<h1><%= raw t('user_block.new.heading',
+              :name => link_to(
+                               h(@this_user.display_name),
+                               {:controller => 'user', :action => 'view', :display_name => @this_user.display_name})) %></h1>
 
-<% form_for(@user_block) do |f| %>
+<%= form_for(@user_block) do |f| %>
   <%= f.error_messages %>
 
   <p>