diff options
| author | hukl <contact@smyck.org> | 2009-09-07 15:29:49 +0200 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-09-07 15:29:49 +0200 |
| commit | bfba5e1da6e890e22e8b7134a94807c5da757d94 (patch) | |
| tree | ce7b22eb472f55db2da026e302948edb121a6e8e /app/views/content | |
| parent | 5e0488e021bee2002d70fa05b79bb85490af020b (diff) | |
show current search term in search field
Diffstat (limited to 'app/views/content')
| -rw-r--r-- | app/views/content/_search.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/content/_search.html.erb b/app/views/content/_search.html.erb index c6029e0..718a516 100644 --- a/app/views/content/_search.html.erb +++ b/app/views/content/_search.html.erb | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | <table> | 1 | <table> |
| 2 | <% form_tag search_path, :method => 'get' do %> | 2 | <% form_tag search_path, :method => 'get' do %> |
| 3 | <tr> | 3 | <tr> |
| 4 | <td><%= text_field_tag :search_term %></td> | 4 | <td><%= text_field_tag :search_term, params[:search_term] %></td> |
| 5 | <td style="padding-top: 2px"><%= image_submit_tag("search_button.png") %></td> | 5 | <td style="padding-top: 2px"><%= image_submit_tag("search_button.png") %></td> |
| 6 | </tr> | 6 | </tr> |
| 7 | <% end %> | 7 | <% end %> |
