diff options
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/general/search.rhtml | 2 | ||||
-rw-r--r-- | app/views/public_body/list.rhtml | 2 | ||||
-rw-r--r-- | app/views/public_body/show.rhtml | 2 | ||||
-rw-r--r-- | app/views/request/new.rhtml | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/app/views/general/search.rhtml b/app/views/general/search.rhtml index cc89c28cd..5e21bc318 100644 --- a/app/views/general/search.rhtml +++ b/app/views/general/search.rhtml @@ -28,7 +28,7 @@ <% if @bodies %> <%= hidden_field_tag 'bodies', 1 %> <% end %> - <%= image_submit_tag 'button-search.png', :title=>"Search" %> + <%= submit_tag _("Search") %> <%= link_to _('Simple search'), search_redirect_path %> </p> <% end %> diff --git a/app/views/public_body/list.rhtml b/app/views/public_body/list.rhtml index e5ccb4fd9..aa82ba429 100644 --- a/app/views/public_body/list.rhtml +++ b/app/views/public_body/list.rhtml @@ -37,7 +37,7 @@ <h1>Public authorities</h1> <h2 class="publicbody_results"><%= _('Found {{count}} public bodies {{description}}', :count=>@public_bodies.size, :description=>@description) %></h2> -<% form_tag(request.url, :method => "get") do %> +<% form_tag(list_public_bodies_default_url, :method => "get") do %> <div> <%= label_tag(:public_body_query, _("Search:")) %> <%= text_field_tag(:public_body_query, params[:public_body_query]) %> diff --git a/app/views/public_body/show.rhtml b/app/views/public_body/show.rhtml index ef554c35c..85506a1bd 100644 --- a/app/views/public_body/show.rhtml +++ b/app/views/public_body/show.rhtml @@ -49,7 +49,7 @@ <% else %> Make a new <strong>Freedom of Information</strong> request <% end %> - <%= _(' <a class="link_button_green" href="{{url}}">{{text}}</a>', :url=>new_request_to_body_url(:url_name => @public_body.url_name), :text=>_("Start"))%> + <%= _('<a class="link_button_green" href="{{url}}">{{text}}</a>', :url=>new_request_to_body_url(:url_name => @public_body.url_name), :text=>_("Start"))%> <% elsif @public_body.has_notes? %> <%= @public_body.notes_as_html %> <% elsif @public_body.not_requestable_reason == 'not_apply' %> diff --git a/app/views/request/new.rhtml b/app/views/request/new.rhtml index 9538065ed..8f7d00d47 100644 --- a/app/views/request/new.rhtml +++ b/app/views/request/new.rhtml @@ -31,7 +31,7 @@ <p> <%= text_field_tag 'q', params[:q], { :size => 20 } %> <%= hidden_field_tag 'as_sitesearch', @info_request.public_body.calculated_home_page %> - <%= submit_tag _("Search") %> + <%= submit_tag _("Search"), :class=>"small" %> </p> <% end %> ... <%= _('to check that the info isn\'t already published.') %> |