{# Shared persona login picker, used by login.html, authorize.html and device.html so the markup (and any future fix to it, e.g. the device flow's implicit-submission fix) exists in one place instead of three. js_submit=True renders non-submit buttons with a `persona-user-btn` class instead, for surfaces (device.html) where a text input shares the form and implicit Enter-submission must not silently pick a user; the caller is then responsible for the click handler that actually submits. #} {% macro persona_picker(users, prompt, js_submit=false) %}

{{ prompt }} No password required (local development convenience).

{% if users %}
{% for user in users %} {% if js_submit %} {% else %} {% endif %} {% endfor %}
{% else %}

No users configured.

{% endif %} {% endmacro %}