Skip to content

Commit

Permalink
Merge pull request #1617 from projectblacklight/bootstrap-fixes
Browse files Browse the repository at this point in the history
Bootstrap fixes
  • Loading branch information
jcoyne committed Jan 22, 2017
2 parents f9fa0a8 + 444bd3e commit 3cdde55
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/views/bookmarks/_tools.html.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<ul class="<%= controller_name %>Tools nav nav-pills">
<%= render_show_doc_actions document_list, document: nil, document_list: @response.documents, url_opts: Blacklight::Parameters.sanitize(params.to_unsafe_h) do |config, inner| %>
<li>
<li class="nav-item">
<%= inner %>
</li>
<% end %>
Expand Down
1 change: 1 addition & 0 deletions app/views/catalog/_document_action.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<%= link_to document_action_label(document_action_config.key, document_action_config),
document_action_path(document_action_config, (local_assigns.has_key?(:url_opts) ? url_opts : {}).merge(({id: document} if document) || {})),
id: document_action_config.fetch(:id, "#{document_action_config.key}Link"),
class: 'nav-link',
data: {}.merge(({ blacklight_modal: "trigger" } if document_action_config.modal != false) || {}) %>
2 changes: 1 addition & 1 deletion app/views/catalog/_email_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
method: :post do %>

<div class="modal-body">
<%= render '/flash_msg' %>
<%= render '/shared/flash_msg' %>
<div class="form-group row">
<label class="control-label col-sm-2" for="to">
<%= t('blacklight.email.form.to') %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/catalog/_sms_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
class: "modal_form",
method: :post do %>
<div class="modal-body">
<%= render '/flash_msg' %>
<%= render '/shared/flash_msg' %>
<div class="form-group row">
<label class="control-label col-sm-2" for="to">
<%= t('blacklight.sms.form.to') %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/catalog/email_success.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
</div>

<div class="modal-body">
<%= render partial: '/flash_msg' %>
<%= render partial: '/shared/flash_msg' %>
<span data-blacklight-modal="close"></span>
</div>
2 changes: 1 addition & 1 deletion app/views/catalog/sms_success.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
</div>

<div class="modal-body">
<%= render partial: '/flash_msg' %>
<%= render partial: '/shared/flash_msg' %>
<span data-blacklight-modal="close"></span>
</div>

0 comments on commit 3cdde55

Please sign in to comment.