view default/event/attendance.html @ 16:8cdcbe0d7dee

blog: various appareance improvments: - use new .box classe - article as a maxium size and is expandable on click - display comments in a different way - author and date are now visible - responsive design - placeholders on comment input - transitions - various other improvments
author Goffi <goffi@goffi.org>
date Thu, 04 May 2017 01:00:23 +0200
parents 6f13b25f1ecf
children 48b831ab4238
line wrap: on
line source

{% import 'input/form.html' as form %}
{% import 'input/field.html' as field %}

<div class="attendance">
    <p class="poll_instructions">Please indicate if you plan to attend the event.</p>
    {% call form.form() %}
        {{ field.meta("type", "attendance") }}
        {{ field.meta("service", event_service) }}
        {{ field.meta("node", event_node) }}
        <div class="attending">
            {{ field.choices("attend", ("yes", "no", "maybe"), checked=event.attend) }}
        </div>
        {{ field.int("guests", label="how many people will come (including you)?", init=event.get("guests", 1)) }}
        {{ field.submit() }}
    {% endcall %}
</div>