diff default/event/attendance.html @ 17:48b831ab4238

event: design improvment
author Goffi <goffi@goffi.org>
date Thu, 04 May 2017 01:00:29 +0200
parents 6f13b25f1ecf
children 422c54e0204a
line wrap: on
line diff
--- a/default/event/attendance.html	Thu May 04 01:00:23 2017 +0200
+++ b/default/event/attendance.html	Thu May 04 01:00:29 2017 +0200
@@ -1,8 +1,8 @@
 {% import 'input/form.html' as form %}
-{% import 'input/field.html' as field %}
+{% import 'input/field.html' as field with context %}
 
-<div class="attendance">
-    <p class="poll_instructions">Please indicate if you plan to attend the event.</p>
+<div class="attendance box">
+    <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) }}
@@ -10,7 +10,11 @@
         <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() }}
+        <div class="guests">
+            {{ field.int("guests", label="How many people will come (including you)?", init=event.get("guests", 1)) }}
+        </div>
+        <div class="submit">
+            {{ field.submit() }}
+        </div>
     {% endcall %}
 </div>