<h1><%= t ".heading", :user => @new_friend.display_name %></h1>
<% end %>
-<%= form_tag(nil, :class => "standard-form") 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 %>
<h1><%= t ".heading", :user => @friend.display_name %></h1>
<% end %>
-<%= form_tag(nil, :class => "standard-form") 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 %>