]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/issues/new.html.erb
DB changes + Related issues added
[rails.git] / app / views / issues / new.html.erb
index 2a6cd66f943bb8826e33e85a0871234784e3034b..476e06be2bfd2f5eb3494718923636c7c0601786 100644 (file)
@@ -6,9 +6,9 @@
     <%= f.error_messages %>
         <fieldset>
             <div class='form-row'>
-                <%= f.hidden_field :reportable_id, :value => params[:reportable_id] %>
-                <%= f.hidden_field :reportable_type, :value => params[:reportable_type] %>
-                <%= f.hidden_field :user_id, :value => params[:user_id] %>
+                <%= f.hidden_field :reportable_id %>
+                <%= f.hidden_field :reportable_type %>
+                <%= f.hidden_field :reported_user_id %>
             </div>
             <div class='form-row'>
                 <label class="standard-label"><%= t 'issue.new.message' -%></label>