diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/views/request/_describe_state.html.erb | 2 | ||||
-rw-r--r-- | app/views/request/_other_describe_state.html.erb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/request/_describe_state.html.erb b/app/views/request/_describe_state.html.erb index 23eddabb4..0441dd4ce 100644 --- a/app/views/request/_describe_state.html.erb +++ b/app/views/request/_describe_state.html.erb @@ -1,6 +1,6 @@ <% if @is_owning_user %> - <%= form_for(:incoming_message, @info_request, :url => describe_state_url(:id => @info_request.id)) do |f| %> + <%= form_for(@info_request, :as => :incoming_message, :url => describe_state_url(:id => @info_request.id), :html => {:id => "describe_form_#{id_suffix}"}) do |f| %> <h2><%= _('What best describes the status of this request now?') %></h2> <hr> <!------------------------------------------------> diff --git a/app/views/request/_other_describe_state.html.erb b/app/views/request/_other_describe_state.html.erb index 735353e86..a20851282 100644 --- a/app/views/request/_other_describe_state.html.erb +++ b/app/views/request/_other_describe_state.html.erb @@ -1,6 +1,6 @@ -<%= form_for(:incoming_message, @info_request, :url => describe_state_url(:id => @info_request.id)) do |f| %> +<%= form_for(@info_request, :as => :incoming_message, :url => describe_state_url(:id => @info_request.id), :html => {:id => "describe_form_#{id_suffix}"}) do |f| %> <h2><%= _('Hi! We need your help. The person who made the following request hasn\'t told us whether or not it was successful. Would you mind taking a moment to read it and help us keep the place tidy for everyone? |