diff options
author | Matthew Landauer <matthew@openaustralia.org> | 2012-11-01 08:41:46 +1100 |
---|---|---|
committer | Matthew Landauer <matthew@openaustralia.org> | 2012-11-01 08:41:46 +1100 |
commit | 78038770fdb110dcbb62f3d9d559eceef955c589 (patch) | |
tree | a4c8c77814dfce0d0932d2f0b65b669bb1c1c879 | |
parent | 33f2b4e60d1a718d36bffcfa42a41359c0e021cb (diff) |
Formatting tidy up (whitespace)
-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 %> |