<% if error_type == 'api' %>
<%
api_request_url = api_error.andand.request_url ? api_error.request_url : ''
api_error_response = api_error.andand.api_response ? api_error.api_response : ''
%>
Send a problem report right here. <%= link_to report_issue_popup_path(popup_type: 'report', current_location: request.url, current_path: request.fullpath, action_method: 'post', api_error_request_url: api_request_url, api_error_response: api_error_response),
<% if error_type == 'api' %>
<%
api_request_url = api_error.andand.request_url ? api_error.request_url : ''
api_error_response = api_error.andand.api_response ? api_error.api_response : ''
%>
Send a problem report right here. <%= link_to report_issue_popup_path(popup_type: 'report', current_location: request.url, current_path: request.fullpath, action_method: 'post', api_error_request_url: api_request_url, api_error_response: api_error_response),