]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/friendships/make_friend.html.erb
Added root elements and dict support for preferences response
[rails.git] / app / views / friendships / make_friend.html.erb
index c02de91f0a1d0a0806aff9a5680bda9cf736281a..3dcdd6d64c8bb096d698f4572c108e87f4f43e57 100644 (file)
@@ -2,9 +2,9 @@
   <h1><%= t ".heading", :user => @new_friend.display_name %></h1>
 <% end %>
 
-<%= form_tag do %>
+<%= bootstrap_form_tag do |f| %>
   <% if params[:referer] -%>
-  <%= hidden_field_tag("referer", params[:referer]) %>
+  <%= f.hidden_field :referer, :value => params[:referer] %>
   <% end -%>
-  <%= submit_tag t(".button") %>
+  <%= f.primary t(".button") %>
 <% end %>