{% comment %} Shared post-composer form. `input_id` lets each surface give the line input a distinct id (new-post applet → id_new_post_text; room.html → id_room_post_text); `submit_id` likewise for the OK button. Mirrors the New Game applet: a flex row with the line input + an OK .btn-confirm submit. The validation feedback sits below the row (and its id tracks `input_id` for aria-describedby). {% endcomment %} {% with input_id=input_id|default:"id_new_post_text" submit_id=submit_id|default:"id_new_post_btn" %}
{% csrf_token %}
{% if form.errors %}
{{ form.errors.text.0 }}
{% endif %}
{% endwith %}