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> <br>
<form action="/flyer" target="_blank"> <form action="/flyer" target="_blank">
{% for event in events %} {% 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> <label for="{{event.id}}"> {{loop.index}} [ {{event.when}} ] {{ event.title }}</label><br>
{% endfor %} {% endfor %}
<input type="submit" value="Genera volantino"> <input type="submit" value="Genera volantino">