app/views/spotlight/pages/_form.html.erb in blacklight-spotlight-2.13.0 vs app/views/spotlight/pages/_form.html.erb in blacklight-spotlight-3.0.0.alpha.1

- old
+ new

@@ -16,28 +16,28 @@ </div> <% end %> <div role="tabpanel"> <ul class="nav nav-tabs" role="tablist"> - <li role="presentation" class="active"> - <a href="#page-content" aria-controls="page-content" role="tab" data-toggle="tab"><%= t(:'.page_content') %></a> + <li role="presentation" class="nav-item"> + <a href="#page-content" class="nav-link active" aria-controls="page-content" role="tab" data-toggle="tab"><%= t(:'.page_content') %></a> </li> - <li role="presentation"> - <a href="#page-options" aria-controls="page-options" role="tab" data-toggle="tab"><%= t(:'.page_options') %></a> + <li role="presentation" class="nav-item"> + <a href="#page-options" class="nav-link" aria-controls="page-options" role="tab" data-toggle="tab"><%= t(:'.page_options') %></a> </li> <% if @page.respond_to? :thumbnail %> - <li role="presentation"> - <a href="#page-thumbnail" aria-controls="page-thumbnail" role="tab" data-toggle="tab"><%= t(:'.page_thumbnail') %></a> + <li role="presentation" class="nav-item"> + <a href="#page-thumbnail" class="nav-link" aria-controls="page-thumbnail" role="tab" data-toggle="tab"><%= t(:'.page_thumbnail') %></a> </li> <% end %> </ul> <div class="tab-content"> <div role="tabpanel" class="tab-pane active" id="page-content"> <div class="form-group"> <%= f.label :title, class: 'sr-only' %> - <%= f.text_field_without_bootstrap :title, class: 'form-control input-lg', placeholder: t(:'.title_placeholder') %> + <%= f.text_field_without_bootstrap :title, class: 'form-control form-control-lg', placeholder: t(:'.title_placeholder') %> </div> <div class="form-group"> <%= f.label :content, class: 'sr-only' %> <%= f.text_area_without_bootstrap :content, value: { data: f.object.content.as_json }.to_json, class: content_editor_class(f.object), data: { 'block-types': Spotlight::Engine.config.sir_trevor_widgets } %> </div>