summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/views/layouts/application.html.erb10
-rw-r--r--app/views/search/index.html.erb4
2 files changed, 10 insertions, 4 deletions
diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb
index 69db939..0b32673 100644
--- a/app/views/layouts/application.html.erb
+++ b/app/views/layouts/application.html.erb
@@ -14,6 +14,16 @@
14 <div id="header"> 14 <div id="header">
15 <%= image_tag "header.png" %> 15 <%= image_tag "header.png" %>
16 </div> 16 </div>
17 <div id="search">
18 <table>
19 <% form_tag search_path, :method => 'get' do %>
20 <tr>
21 <td><%= text_field_tag :search_term %></td>
22 <td style="padding-top: 2px"><%= image_submit_tag("search_button.png") %></td>
23 </tr>
24 <% end %>
25 </table>
26 </div>
17 <div id="left_column"> 27 <div id="left_column">
18 <%= main_menu %> 28 <%= main_menu %>
19 29
diff --git a/app/views/search/index.html.erb b/app/views/search/index.html.erb
index 2e46d20..28764bf 100644
--- a/app/views/search/index.html.erb
+++ b/app/views/search/index.html.erb
@@ -1,9 +1,5 @@
1<h2>Suche</h2> 1<h2>Suche</h2>
2 2
3<% form_tag search_path, :method => 'get' do %>
4 <%= text_field_tag :search_term %>
5 <%= submit_tag "Suchen" %>
6<% end %>
7 3
8 4
9<% if params[:search_term] %> 5<% if params[:search_term] %>