{% load i18n %}{% comment %} A path field of the set-up page with Browse beside it (#320, the GridSetup board; local mode only), then the place under it for the folder listing (gridded/_listing.html). Browse posts the set-up form (action "browse:"), so it works without JavaScript; htmx puts the listing alone in its place. Context: field, browse_for (Browse's name for screen readers, after "Browse"), browsing (the field whose listing is open) and the listing's context (views.browse_context). {% endcomment %}
{{ field }}
{% if browsing == field.name %}{% include "gridded/_listing.html" %}{% endif %}