From 28728ebe78c8ea1a95198cec3f9e369fee3cfcba Mon Sep 17 00:00:00 2001 From: Justin Coyne Date: Thu, 7 Sep 2017 09:04:52 -0500 Subject: [PATCH] Formatting for readability --- app/views/search_history/index.html.erb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/views/search_history/index.html.erb b/app/views/search_history/index.html.erb index 86ea47144d..f5c75220ed 100644 --- a/app/views/search_history/index.html.erb +++ b/app/views/search_history/index.html.erb @@ -5,7 +5,11 @@ <% if @searches.blank? %>

<%= t('blacklight.search_history.no_history') %>

<% 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' %>

<%= t('blacklight.search_history.recent') %>

<% @searches.each_with_index do |search,index| %>