{# The add/edit browser form as a fragment for the dialog on /settings/browsers (?modal=1, loaded and submitted by static/js/browser-config-modal.js). Same fields and the same routes as the page version (browser-config-form.html); a failed save re-renders this with its errors, a successful one answers with JSON instead. #}
{# The same tabs as the page version. They switch panes by class (browser-config-modal.js) instead of the URL #anchor, which belongs to the /settings/browsers page behind the dialog. #}
{% if show_language_tab %} {% endif %} {% if show_request_tab %} {% endif %} {% for section in plugin_sections if section.has_own_tab %} {% endfor %}