14 lines
676 B
Plaintext

<h2>Search through @TU Vienna Database</h2>
<p>Just enter your search term in the form below and pick your context.
We do the rest!</p>
<%= form_tag(crawlers_tiss_crawler_search_path, :method => "get") do %>
<%= label_tag(:search_term, "Enter your search term") %>
<%= text_field_tag(:search_term, nil, required: true, minlength: 1, placeholder: "...") %>
<%= 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 %>