autoselezione 24 eventi

This commit is contained in:
encrypt 2023-10-17 20:04:23 +02:00
parent 7311b59893
commit 288335f563

View file

@ -10,7 +10,7 @@ L'attuale layout può contenere fino a 24 eventi.
<br>
<form action="/flyer" target="_blank">
{% for event in events %}
<input type="checkbox" {% if loop.index <= 12 %} checked {% endif %} id="{{event.id}}" name="events" value="{{event.id}}">
<input type="checkbox" {% if loop.index <= 24 %} checked {% endif %} id="{{event.id}}" name="events" value="{{event.id}}">
<label for="{{event.id}}"> {{loop.index}} [ {{event.when}} ] {{ event.title }}</label><br>
{% endfor %}
<input type="submit" value="Genera volantino">