Commit 62643a871496623281993cd7b1b6ffc85a79fa94

Authored by AntonioTerceiro
1 parent 8a5479a3

ActionItem153: adding a search box in the root page


git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1297 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing 1 changed file with 16 additions and 0 deletions   Show diff stats
app/views/home/index.rhtml
1 1 <%= flash[:notice] %>
2 2  
3 3 <%= @environment.description %>
  4 +
  5 +<div id='home-search' style='text-align: center'>
  6 + <h2><%= _('Search') %></h2>
  7 +
  8 + <% form_tag :controller => 'search', :action => 'index' do %>
  9 +
  10 + <div id='search-field' style='text-align: center;'>
  11 + <%= text_field_tag('query', '', :size => 50) %>
  12 + <%= submit_button(:search, _('Search')) %>
  13 + </div>
  14 +
  15 + <div>
  16 + <%= lightbox_link_to _('More search options'), :controller => 'search', :action => 'popup' %>
  17 + </div>
  18 + <% end %>
  19 +</div>
... ...