app/views/spotlight/exhibits/_contact.html.erb in blacklight-spotlight-2.13.0 vs app/views/spotlight/exhibits/_contact.html.erb in blacklight-spotlight-3.0.0.alpha.1

- old
+ new

@@ -1,19 +1,19 @@ <div class="row contact"> <%= contact.hidden_field :id %> <div class="col-md-8<%= ' has-error' if contact.object.errors[:email].present? %>"> <%= text_field_tag "#{contact.object_name}[email]", contact.object.email, class: 'exhibit-contact form-control' %> <% if contact.object.errors[:email].present? %> - <span class="help-block"><%=contact.object.errors[:email].join(", ".html_safe) %></span> + <small class="form-text text-muted"><%=contact.object.errors[:email].join(", ".html_safe) %></small> <% end %> <p> - <span class="contact-email-delete-error text-danger callout-danger" style="display: none;"><%= t('.email_delete_error') %> <span class="error-msg"></span></span> + <span class="contact-email-delete-error text-danger bg-danger" style="display: none;"><%= t('.email_delete_error') %> <span class="error-msg"></span></span> </p> </div> <div class="col-md-4"> <% if contact.object.id %> <span class="contact-email-delete-wrapper"> - <%= link_to exhibit_contact_email_path(exhibit_id: exhibit.id, id: contact.object.id), class: 'contact-email-delete btn btn-xs btn-danger', method: :delete, data: { confirm: t('.email_delete_confirmation'), remote: true } do %> + <%= link_to exhibit_contact_email_path(exhibit_id: exhibit.id, id: contact.object.id), class: 'contact-email-delete btn btn-sm btn-danger', method: :delete, data: { confirm: t('.email_delete_confirmation'), remote: true } do %> <%= t('.email_delete_button') %> <% end %> </span> <% end %> <%= render partial: 'confirmation_status', locals: {contact_email: contact.object} unless contact.object.new_record? %>