offer a back to search button
This commit is contained in:
parent
0a849a92e3
commit
fcc07a75b4
@ -1,2 +1,5 @@
|
||||
module Crawlers::TissCrawlerHelper
|
||||
def back_to_search_button
|
||||
button_to 'Search again', crawlers_tiss_crawler_search_url, :method => 'get'
|
||||
end
|
||||
end
|
||||
|
||||
@ -1,5 +1,7 @@
|
||||
<h2>Courses Search ("<%= params[:search_term] %>")</h2>
|
||||
|
||||
<%= back_to_search_button %>
|
||||
|
||||
<ul class="courses-list">
|
||||
<% if @courses %>
|
||||
<% @courses.each_with_index do |course| %>
|
||||
|
||||
@ -1,5 +1,7 @@
|
||||
<h2>People Search ("<%= params[:search_term] %>")</h2>
|
||||
|
||||
<%= back_to_search_button %>
|
||||
|
||||
<ul class="people-list">
|
||||
<% @people.each_with_index do |person| %>
|
||||
<li class="person">
|
||||
|
||||
@ -1,5 +1,7 @@
|
||||
<h2>Projects Search ("<%= params[:search_term] %>")</h2>
|
||||
|
||||
<%= back_to_search_button %>
|
||||
|
||||
<ul class="projects-list">
|
||||
<% if @projects %>
|
||||
<% @projects.each_with_index do |project| %>
|
||||
|
||||
@ -1,5 +1,7 @@
|
||||
<h2>Theses Search ("<%= params[:search_term] %>")</h2>
|
||||
|
||||
<%= back_to_search_button %>
|
||||
|
||||
<ul class="theses-list">
|
||||
<% if @theses %>
|
||||
<% @theses.each_with_index do |thesis| %>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user