diff options
| author | hukl <contact@smyck.org> | 2009-09-06 21:51:31 +0200 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-09-06 21:51:31 +0200 |
| commit | 8f2dc36616548650000308ebc8b1f9e2947c0ef9 (patch) | |
| tree | 79f1226c6f7646b1bbe57634c848e44d426bd01f /app/views/search | |
| parent | 5c90701cdf3ad475840a76f096f1b74ff68fbd0f (diff) | |
| parent | d555e1b27df1096e8899f2e50c8d6421f4c1cca3 (diff) | |
Merge branch 'public_search'
Diffstat (limited to 'app/views/search')
| -rw-r--r-- | app/views/search/index.html.erb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/app/views/search/index.html.erb b/app/views/search/index.html.erb new file mode 100644 index 0000000..28764bf --- /dev/null +++ b/app/views/search/index.html.erb | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | <h2>Suche</h2> | ||
| 2 | |||
| 3 | |||
| 4 | |||
| 5 | <% if params[:search_term] %> | ||
| 6 | <h3>Suchergebnisse für Suchbegriff: <%= params[:search_term] %></h3> | ||
| 7 | <% end %> | ||
| 8 | |||
| 9 | <%= | ||
| 10 | render( | ||
| 11 | :partial => 'custom/partials/article', | ||
| 12 | :collection => @results, | ||
| 13 | :as => :page | ||
| 14 | ) | ||
| 15 | %> \ No newline at end of file | ||
