app/views/spotlight/about_pages/index.html.erb in blacklight-spotlight-0.0.3 vs app/views/spotlight/about_pages/index.html.erb in blacklight-spotlight-0.1.0
- old
+ new
@@ -2,19 +2,22 @@
<div id="content" class="col-md-9">
<%= render 'order_pages' %>
<%= bootstrap_form_for @exhibit, url: exhibit_contacts_path(@exhibit),
style: :horizontal, html: {class: 'exhibit-contacts'} do |f| %>
<h3><%= t :".contacts" %></h3>
- <p><%= t :'.instructions' %></p>
+ <p class="instructions"><%= t :'.instructions' %></p>
<div class="panel-group dd contacts_admin">
<ol class="dd-list">
<%= f.fields_for :contacts do |c| %>
<%= render partial: 'contact', locals: {f: c} %>
<% end %>
</ol>
</div>
- <div class="pull-right" style="margin-top: 1em;">
- <%= f.submit nil %>
+ <div class="form-actions" style="margin-top: 1em;">
+
+ <%= exhibit_create_link Spotlight::Contact.new, class: "btn btn-primary" %>
+ <div class="primary-actions">
+ <%= f.submit nil, class: 'btn btn-primary' %>
+ </div>
</div>
<% end %>
- <%= exhibit_create_link Spotlight::Contact.new, class: "btn btn-primary" %>
</div>