{% extends 'base/base.html' %} {% import 'input/form.html' as form with context %} {% import 'input/field.html' as field with context %} {% import 'input/textbox.html' as textbox with context %} {% block body %}

{% trans name=event.name %}{{name}} administration{% endtrans %}

{% if event.image is defined %}

{% endif %} {% if event.description is defined %}

{{event.description}}

{% endif %}
{% include 'event/counter.html' %}
{% if invitees %} {% for name, data in invitees.iteritems() %} {% if data.attend == 'no' %} {% else %} {% endif %} {% endfor %}
{% trans %}name{% endtrans %} {% trans %}coming?{% endtrans %} {% trans %}guests{% endtrans %}
{{name}} {{data.attend|default('')}} {{data.guests|default(0)}}
{% trans %}total expected{% endtrans %} {{invitees_guests|default('0')}}
{% else %}

{% trans %}No invitee has answered yet{% endtrans %}

{% endif %}
{% call form.form(class="form--paper form__panel--vertical form__panel--center") %} {{ textbox.head(event_service, event_node, 'event') }} {{ field.meta('event_id', event_id) }} {{ field.textarea("jids", _("enter here a list of jid (one per line) to invite"), class="form__field--medium") }} {{ field.textarea("emails", _("enter here a list of emails addresses (one per line) to invite"), class="form__field--medium") }} {{ field.submit(_("Invite people")) }} {% endcall %}
{% call form.form(class="form--paper form__panel--vertical form__panel--center") %} {{ textbox.head(service, node, 'blog') }} {{ field.text("title", _("title"), class="form__field--big") }} {{ field.textarea("body", _("body"), class="form__field--big") }} {{ field.text("language", _("language"), class="form__field--tiny") }} {{ field.checkbox("comments", _("allow comments"), checked=true) }} {{ field.submit(_("send")) }} {% endcall %}
{% if items is defined %} {% include 'blog/articles.html' %} {% endif %}
{% endblock body %}