diff options
Diffstat (limited to 'app/views/content')
| -rw-r--r-- | app/views/content/_search.html.erb | 2 | ||||
| -rw-r--r-- | app/views/content/_tags.html.erb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/content/_search.html.erb b/app/views/content/_search.html.erb index e654462..aa91424 100644 --- a/app/views/content/_search.html.erb +++ b/app/views/content/_search.html.erb | |||
| @@ -1,3 +1,3 @@ | |||
| 1 | <% form_tag search_path, :method => 'get' do %> | 1 | <%= form_tag search_path, :method => 'get' do %> |
| 2 | <div><%= text_field_tag :search_term, params[:search_term], :placeholder => 'suchen', :type => 'search' %></div> | 2 | <div><%= text_field_tag :search_term, params[:search_term], :placeholder => 'suchen', :type => 'search' %></div> |
| 3 | <% end %> | 3 | <% end %> |
diff --git a/app/views/content/_tags.html.erb b/app/views/content/_tags.html.erb index fd808b6..169ae84 100644 --- a/app/views/content/_tags.html.erb +++ b/app/views/content/_tags.html.erb | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | <% unless @page.tags.empty? %> | 1 | <% unless @page.nil? || @page.tags.empty? %> |
| 2 | <div id="tags"> | 2 | <div id="tags"> |
| 3 | <h2>Tags</h2> | 3 | <h2>Tags</h2> |
| 4 | <ul class="teasertext"> | 4 | <ul class="teasertext"> |
