diff options
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 | ||
