refactoring
This commit is contained in:
@@ -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 %>
|
||||
Reference in New Issue
Block a user