<%= contact.hidden_field :id %>
<% if contact.index == 0 %>
<%= text_field_tag "#{contact.object_name}[email]", contact.object.email, class: 'exhibit-contact form-control' %> +
<% else %> <%= text_field_tag "#{contact.object_name}[email]", contact.object.email, class: 'exhibit-contact form-control' %> <% end %> <% if contact.object.errors[:email].present? %> <%=contact.object.errors[:email].join(", ".html_safe) %> <% end %>
<%= render partial: 'confirmation_status', locals: {contact_email: contact.object} unless contact.object.new_record? %>