{# One card per consist — the table shape doesn't work well for a variable-length member list, so we render each consist as its own inline card with an actions strip. Outer wrapper carries the id so htmx swaps replace the whole set. #}
No consists defined yet.
{% else %} {% for c in consists %}{{ c.address }}
no members yet
{% else %}| Pos | Address | Long | Orient | |
|---|---|---|---|---|
| {{ m.position }}{% if m.position == 0 %} lead{% endif %} | {{ m.address }} | {% if m.long_address %}yes{% else %}no{% endif %} | {% if m.direction_normal %}forward{% else %}reversed{% endif %} |