X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/3e443d57aaecd34e63a8d861c7075ab7b0f61174..57d5e8e0f8e8c3871e2d95d14e3088c0a3f41a9b:/apps/workbench/app/views/application/api_error.html.erb diff --git a/apps/workbench/app/views/application/api_error.html.erb b/apps/workbench/app/views/application/api_error.html.erb index 68fe32b0fb..f8edf7d40e 100644 --- a/apps/workbench/app/views/application/api_error.html.erb +++ b/apps/workbench/app/views/application/api_error.html.erb @@ -22,17 +22,4 @@ If that doesn't work, the information below can help system administrators track <% end %> -

-
Would you like to report this problem?
-<% if api_error %> - <%= link_to report_issue_popup_path(popup_type: 'report', current_location: request.fullpath, action_method: 'post', api_error_request_url: api_error.request_url, api_error_response: api_error.api_response_s), - {class: 'btn btn-primary report-issue-modal-window', 'data-toggle' => "modal", 'data-target' => '#report-issue-modal-window', :remote => true, return_to: request.url} do %> - Report problem - <% end %> -<% else %> - <%= link_to report_issue_popup_path(popup_type: 'report', current_location: request.fullpath, action_method: 'post'), - {class: 'btn btn-primary report-issue-modal-window', 'data-toggle' => "modal", 'data-target' => '#report-issue-modal-window', :remote => true, return_to: request.url} do %> - Report problem - <% end %> -<% end %> -

+<%= render :partial => "report_error", :locals => {api_error: api_error, error_type: 'api'} %>