07 — tweet templates
Body, position, active. CRUD-shaped.
Templates surface on the join email + the public waitlist page. Archive (soft-delete) flips is_active to false; rows stay in the DB so the rendered tweets in old emails keep matching. Order by sort_order ascending.
existing
{{ rows|selectattr('is_active')|list|length }} active / {{ rows|length }} total
{% if not rows %}
{% endif %}
// no templates yet. add one below.
{% else %}
| sort | body | status | updated | action |
|---|---|---|---|---|
| {{ row.sort_order }} |
{% if is_editing %}
{% else %}
{{ row.body }}
{% endif %}
|
{% if row.is_active %} active {% else %} archived {% endif %} | {{ row.updated_at_display }} |
add new