<h4 class = 'invited'><%= @user.inviter_name %> wants you to join <%= @user.inviter_team.name %></h4>

<%= form_tag do |f| %>

  <div class="actions">
    <%= submit_tag "Accept", name: 'accept', :class => 'button--invited', :id => 'accept' %>
    <%= submit_tag "Decline", name: 'decline', :class => 'button--invited', :id => 'decline' %>
  </div>

<% end %>

<h4 class = 'invited'><%= @user.inviter_name %> wants you to join <%= @user.inviter_team.name %></h4>

<%= form_tag do |f| %>

  <div class="actions">
    <%= submit_tag "Accept", name: 'accept', :class => 'button--discrete', :id => 'success' %>
    <%= submit_tag "Decline", name: 'decline', :class => 'button--discrete', :id => 'warning' %>
  </div>

<% end %>

Modify invitation partial to use more generalized id's
Modify invitation partial to use more generalized id's
