Skip to content

Commit

Permalink
Formatting for readability
Browse files Browse the repository at this point in the history
  • Loading branch information
jcoyne committed Sep 7, 2017
1 parent f0e53ed commit 28728eb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/views/search_history/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@
<% if @searches.blank? %>
<h3 class='section-heading'><%= t('blacklight.search_history.no_history') %></h3>
<% else %>
<%= link_to t('blacklight.search_history.clear.action_title'), blacklight.clear_search_history_path, :method => :delete, :data => { :confirm => t('blacklight.search_history.clear.action_confirm') }, :class => 'btn btn-danger float-md-right' %>
<%= link_to t('blacklight.search_history.clear.action_title'),
blacklight.clear_search_history_path,
method: :delete,
data: { confirm: t('blacklight.search_history.clear.action_confirm') },
class: 'btn btn-danger float-md-right' %>
<h3 class='section-heading'><%= t('blacklight.search_history.recent') %></h3>
<table class="table table-striped search-history">
<% @searches.each_with_index do |search,index| %>
Expand Down

0 comments on commit 28728eb

Please sign in to comment.