refactored crawler controllers and bundled them in crawlers namespace
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
<h1>Search through @TU Vienna Database</h1>
|
||||
<p>Only people can be searched right now</p>
|
||||
|
||||
<%= form_tag(crawlers_tiss_crawler_search_path, :method => "get") do %>
|
||||
<%= label_tag(:search_term, "Enter your search term") %>
|
||||
<%= text_field_tag(:search_term) %>
|
||||
<%= radio_button_tag(:search_context, 'People', true) %> People
|
||||
<%= radio_button_tag(:search_context, 'Courses', false) %> Courses
|
||||
<%= radio_button_tag(:search_context, 'Theses', false) %> Theses
|
||||
<%= radio_button_tag(:search_context, 'Projects', false) %> Projects
|
||||
<%= submit_tag("Search") %>
|
||||
<% end %>
|
||||
Reference in New Issue
Block a user