aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Longair <mhl@pobox.com>2013-10-01 16:00:23 +0100
committerMark Longair <mhl@pobox.com>2013-10-01 16:00:23 +0100
commit2714af6734c338e088ddd2f4d42d79cfd1b6231e (patch)
treea78e25a033be98965b461c99893ac9af2cdbd641
parent905655c7a37b6159b1468ef455ae2a179b6f9069 (diff)
Fix a radio button label when updating a request status
Clicking on the "This request requires administrator attention" label would actually select the "I've received an error message" option due to the label referring to the wrong input element. This change corrects the label. Thanks to Jedidiah Broadbent for spotting this bug. Fixes #1113
-rw-r--r--app/views/request/_describe_state.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/request/_describe_state.html.erb b/app/views/request/_describe_state.html.erb
index 05cce013e..7b6fa9683 100644
--- a/app/views/request/_describe_state.html.erb
+++ b/app/views/request/_describe_state.html.erb
@@ -80,7 +80,7 @@
<% if @update_status %>
<div>
<%= radio_button "incoming_message", "described_state", "requires_admin", :id => 'requires_admin' + id_suffix %>
- <label for="error_message<%=id_suffix%>">
+ <label for="requires_admin<%=id_suffix%>">
<%= _('This request <strong>requires administrator attention</strong>') %>
</label>
</div>