Skip to content

Commit

Permalink
Use html rather than helper
Browse files Browse the repository at this point in the history
  • Loading branch information
jcoyne committed Sep 7, 2017
1 parent 3760002 commit 1b05593
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/search_history/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
<h3 class='section-heading'><%=t('blacklight.search_history.recent')%></h3>
<table class="table table-striped search-history">
<%- @searches.each_with_index do |search,index| -%>
<%= content_tag :tr, :id => "document_#{index + 1}" do %>
<tr id="document_<%= index + 1 %>">
<td class="query"><%= link_to_previous_search(search_state.reset(search.query_params).to_hash) %></td>
<% end #content_tag %>
</tr>
<%- end -%>
</table>
<%- end -%>
Expand Down

0 comments on commit 1b05593

Please sign in to comment.