aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Landauer <matthew@openaustralia.org>2013-03-11 15:24:23 +1100
committerMatthew Landauer <matthew@openaustralia.org>2013-04-11 15:54:17 +1000
commitd1fda51d0477b111666eaebe94723129cb2e12ae (patch)
tree34098f96dfbe67f916fc286c27b44f3eea620059
parent270f65d519140dbb490371d2acece701d9c47811 (diff)
Change wording on button to start request for a particular authority
-rw-r--r--app/views/public_body/show.html.erb7
-rw-r--r--public/stylesheets/main.css5
2 files changed, 1 insertions, 11 deletions
diff --git a/app/views/public_body/show.html.erb b/app/views/public_body/show.html.erb
index df6346e4f..643b9de85 100644
--- a/app/views/public_body/show.html.erb
+++ b/app/views/public_body/show.html.erb
@@ -51,12 +51,7 @@
<div id="stepwise_make_request">
<% if @public_body.is_requestable? || @public_body.not_requestable_reason == 'bad_contact' %>
- <% if @public_body.eir_only? %>
- <%= _('Make a new <strong>Environmental Information</strong> request')%>
- <% else %>
- <%= _('Make a new <strong>Freedom of Information</strong> request to {{public_body}}', :public_body => h(@public_body.name))%>
- <% end %>
- &nbsp;<%= _('<a class="link_button_green" href="{{url}}">{{text}}</a>', :url=>new_request_to_body_url(:url_name => @public_body.url_name), :text=>_("Start"))%>
+ <%= link_to _("Make a request to this authority"), new_request_to_body_path(:url_name => @public_body.url_name), :class => "link_button_green" %>
<% elsif @public_body.has_notes? %>
<%= @public_body.notes_as_html.html_safe %>
<% elsif @public_body.not_requestable_reason == 'not_apply' %>
diff --git a/public/stylesheets/main.css b/public/stylesheets/main.css
index 2823f3978..6f6d7b365 100644
--- a/public/stylesheets/main.css
+++ b/public/stylesheets/main.css
@@ -183,16 +183,11 @@ margin:18px 0 36px;
}
#stepwise_make_request {
-background-color:#BBB;
-border:1px solid #222;
-border-radius:5px;
--moz-border-radius:5px;
color:#222;
font-size:1.1em;
text-align:left;
width:412px;
margin:0 14em 40px 0;
-padding:10px 12px;
}
#stepwise_make_request_view_email {