{% extends "base.html" %}
{% from "_macros.html" import icon %}
{#
What a folder hands to the chats started inside it.
A page rather than a panel in the sidebar, following the admin convention:
compact rows, and the full form one click away. A form per folder row in a
tree that nests eight deep would be unusable, and the sidebar is the one
place in the application that has to stay scannable.
The whole form is one PATCH at the route that already existed. Every field is
clearable, because `update_folder` reads the raw form and checks key presence
rather than declaring `Form(None)` parameters -- with those, an empty box and
an absent one are the same request.
#}
{% block title %}{{ folder.name }} - LLeMbas{% endblock %}
{% block head %}
{% endblock %}
{% block body_attrs %} data-authenticated="true"{% endblock %}
{% block body %}
{{ icon("plus", "icon--sm") }} New chat here
{#
`.admin-scroll` is what scrolls, not `.page`. `.main` is a flex column
with `min-height: 0`, so a `.page` dropped straight into it overflows the
viewport with nothing to scroll -- Save and Back end up somewhere below
the bottom of the window, reachable only by zooming out. Every other page
of this shape already wraps its content this way; this one did not.
#}