]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/user_blocks/edit.html.erb
Avoid having to condition on mobile mode
[rails.git] / app / views / user_blocks / edit.html.erb
index 387335d9d07e4b6e20248e38228bee58c5078bb6..777022dab8cf416541e57cc95f03d7930b34d009 100644 (file)
@@ -4,7 +4,7 @@
                            h(@user_block.user.display_name),
                            {:controller => 'user', :action => 'view', :display_name => @user_block.user.display_name})) %></h1>
 
                            h(@user_block.user.display_name),
                            {:controller => 'user', :action => 'view', :display_name => @user_block.user.display_name})) %></h1>
 
-<% form_for(@user_block) do |f| %>
+<%= form_for(@user_block) do |f| %>
   <%= f.error_messages %>
 
   <p>
   <%= f.error_messages %>
 
   <p>