aboutsummaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
Diffstat (limited to 'app/views')
-rw-r--r--app/views/reports/new.html.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/reports/new.html.erb b/app/views/reports/new.html.erb
index b5ca1421f..7d558ab4e 100644
--- a/app/views/reports/new.html.erb
+++ b/app/views/reports/new.html.erb
@@ -11,11 +11,11 @@
<%= form_tag request_report_path(:request_id => @info_request.url_title) do %>
<p>
<label class="form_label" for="reason">Reason:</label>
- <%= select_tag :reason, options_for_select(@info_request.report_reasons), :prompt => "Choose a reason" %>
+ <%= select_tag :reason, options_for_select(@info_request.report_reasons, @reason), :prompt => "Choose a reason" %>
</p>
<p>
<label class="form_label" for="message">Please tell us more:</label>
- <%= text_area_tag :message, "", :rows => 10, :cols => 60 %>
+ <%= text_area_tag :message, @message, :rows => 10, :cols => 60 %>
</p>
<div class="form_button">