refactoring

This commit is contained in:
Marco Zeisler
2020-04-21 13:52:27 +02:00
parent c5cc225ca6
commit e0a21f180f
17 changed files with 26 additions and 35 deletions
@@ -0,0 +1,8 @@
<%= form_tag('/tiss_crawler/search', :method => "get") do %>
<%= hidden_field_tag(:context, 'People') %>
<%= hidden_field_tag(:api, '/api/person/v22/psuche') %>
<%= hidden_field_tag(:search_parameter, 'q') %>
<%= label_tag(:search_term, "Search for:") %>
<%= text_field_tag(:search_term) %>
<%= submit_tag("Search") %>
<% end %>
@@ -0,0 +1,8 @@
This is the result for your basic people search:
<% @people.each do |person| %>
<p>
<%= person.first_name %>
<%= person.last_name %>
</p>
<% end %>