3112: minor label updates
[arvados.git] / apps / workbench / app / views / issue_reporter / send_report.text.erb
index 466d0915b650137005d5ed088a972683a10fba24..4cbb371ca1d0c4911cb53f5841698598c9af586a 100644 (file)
@@ -5,7 +5,9 @@ Issue reported
 <% end %>
 
 Details of the report:
+<% if @params['report_additional_info'] %>
 <% json_map = JSON.parse(@params['report_additional_info']).map %>
 <%  map_to_s = json_map.map {|k,v| "#{k}=#{v}"}.join("\n") %>
 <%= map_to_s %>
-Report text=<%=@params['report_text'] %>
+<% end %>
+Report text=<%=@params['report_issue_text'] %>