<%= form_with url: avo.avo_private_send_to_hq_path, data: {turbo_frame: :send_to_hq}, class: "w-full" do |f| %>

Send in a bug report (pro feature)

If you think there is something wrong with Avo and you'd like to report with some (anonymized) telemetry about the app, please fill in any relevant details and send it in.

Otherwise, please create a GitHub issue where everyone can contribute.

<%= f.text_area :body, rows: 3, class: "block w-full rounded-md border-gray-300 shadow-sm focus:border-indigo-500 focus:ring-indigo-500 sm:text-sm disabled:bg-gray-100", disabled: !Avo::Current.license.pro? %>
<%= f.hidden_field :license_key, value: Avo::Services::DebugService.debug_report(request)[:license_response]["license_key"] %> <%= a_button icon: 'heroicons/outline/paper-airplane', color: :primary, style: :primary, class: "mt-4", disabled: !Avo::Current.license.pro?, type: :submit do %> Send to HQ <% end %>
<% end %>
<%= turbo_frame_tag :send_to_hq %>