app/views/spotlight/pages/_form.html.erb in blacklight-spotlight-3.0.0.rc4 vs app/views/spotlight/pages/_form.html.erb in blacklight-spotlight-3.0.0.rc5

- old
+ new

@@ -48,21 +48,21 @@ <%= render "page_options", f: f %> </div> <% if @page.respond_to? :thumbnail %> <div role="tabpanel" class="tab-pane" id="page-thumbnail"> - <%= f.fields_for :thumbnail, (@page.thumbnail || @page.build_thumbnail) do |m| %> + <%= f.fields_for :thumbnail, (@page.thumbnail || @page.build_thumbnail), include_id: false do |m| %> <p class="instructions"><%= t(:'.thumbnail.help') %></p> <%= render '/spotlight/featured_images/form', f: m, initial_crop_selection: Spotlight::Engine.config.featured_image_thumb_size, crop_type: :thumbnail %> <% end %> </div> <% end %> </div> </div> <div class="form-actions"> <div class="primary-actions"> - <%= link_to(t('cancel'), :back, data: (@page.lock && @page.lock.current_session? ? { lock: url_for([spotlight, @page.exhibit, @page.lock]) } : {})) %> + <%= link_to(t('cancel'), :back, data: (@page.lock && @page.lock.current_session? ? { lock: url_for([spotlight, @page.exhibit, @page.lock]) } : {}), class: 'btn-sizing') %> <%= f.submit class: 'btn btn-primary' %> </div> </div> <% end %>