diff options
-rw-r--r-- | app/views/general/_frontpage_search_box.rhtml | 8 | ||||
-rw-r--r-- | app/views/general/frontpage.rhtml | 11 |
2 files changed, 8 insertions, 11 deletions
diff --git a/app/views/general/_frontpage_search_box.rhtml b/app/views/general/_frontpage_search_box.rhtml index 19400bcbb..14ba2c8be 100644 --- a/app/views/general/_frontpage_search_box.rhtml +++ b/app/views/general/_frontpage_search_box.rhtml @@ -5,8 +5,8 @@ :number_of_requests => InfoRequest.visible.count, :number_of_authorities => PublicBody.visible.count) %> </h2> <% form_tag({:action => "search_redirect"}, {:id => "search_form"}) do %> -<div> - <%= text_field_tag 'query', params[:query], { :size => 30 } %> - <%= submit_tag _('Search') %> -</div> + <div> + <%= text_field_tag 'query', params[:query], { :size => 30 } %> + <%= submit_tag _('Search') %> + </div> <% end %> diff --git a/app/views/general/frontpage.rhtml b/app/views/general/frontpage.rhtml index e2a95dc12..acc7f4095 100644 --- a/app/views/general/frontpage.rhtml +++ b/app/views/general/frontpage.rhtml @@ -13,11 +13,8 @@ </div> <div style="clear:both"></div> </div> - -<div id="frontpage_examples"> - <%= render :partial => "frontpage_bodies_list" %> - <%= render :partial => "frontpage_requests_list" %> -</div> - - + <div id="frontpage_examples"> + <%= render :partial => "frontpage_bodies_list" %> + <%= render :partial => "frontpage_requests_list" %> + </div> <% end %> |