{% extends "admin/_layout.html" %} {% from "_macros.html" import icon %} {% set section = "suggestions" %} {% block title %}Suggestions - LLeMbas{% endblock %} {% block heading %}Suggestions{% endblock %} {% block admin_content %}

Cards on the new-chat screen. Clicking one puts its prompt in the composer without sending it — the built-in ones deliberately end mid-sentence, so the caret lands where the person has to start typing. The first {{ max_shown }} enabled ones are shown, in this order.

{% if saved %}
{{ icon("check", "icon--sm") }} {{ saved }}
{% endif %} {% for suggestion in suggestions %}

{{ suggestion.name }} {% if not suggestion.enabled %}hidden{% endif %} {% if loop.index > max_shown and suggestion.enabled %} below the cut {% endif %}

The heading on the card.

Order on the screen, lowest first.

One line under the name, saying what it is for.

Put in the composer, not sent. Ending it mid-sentence is usually right: the person still has to say what they are asking about.

{% else %}
{{ icon("sparkle", "empty__mark") }}

No suggestions

The new-chat screen shows its empty state instead.

{% endfor %} {% if not at_limit %}

Add a suggestion

{% else %}

{{ max_suggestions }} is the limit. Delete one to add another — past a dozen this is a menu, and a menu on the empty screen is a worse blank page than a blank page.

{% endif %} {% endblock %}