Mercurial > libervia-templates
annotate sat_templates/templates/bulma/event/attendance.html @ 411:f7a434581872 default tip
chat: Add forward, rich editing and extra recipients:
- There is a new "forward" menu in message. For now, a simple prompt ask for recipient JID.
- A new "extra" menu is available next to input field. Inside there are 2 items for now:
add extra recipient, and toggle rich edit mode.
- Extra recipient option add a field to add an email-like "to", "cc" or "bcc" recipients.
- Rich edit let use rich styling such as bold, italic, underline, etc.
rel 461
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 04 Jul 2025 17:33:22 +0200 |
parents | 1928ba66c194 |
children |
rev | line source |
---|---|
230 | 1 {% import 'input/form.html' as form with context %} |
2 {% import 'input/field.html' as field with context %} | |
3 | |
4 | |
5 <div class="message"> | |
6 <div class="message-body is-info"> | |
7 {% trans %}Please indicate if you plan to attend the event:{% endtrans %} | |
8 </div> | |
9 </div> | |
10 {% call form.form() %} | |
11 {{ field.meta("type", "attendance") }} | |
12 {{ field.meta("service", event.invitees_service) }} | |
13 {{ field.meta("node", event.invitees_node) }} | |
14 <div class="box attending"> | |
15 {{ field.choices("attend", (("yes", _("yes")), ("no", _("no")), ("maybe", _("maybe"))), checked=invitee.attend) }} | |
16 </div> | |
17 <div class="guests"> | |
18 {{ field.int("guests", label=_("How many people will come (including you)?"), init=invitee.get("guests", 1)) }} | |
19 </div> | |
246
1928ba66c194
bulma: replaced custom styles by new spacing helpers
Goffi <goffi@goffi.org>
parents:
230
diff
changeset
|
20 <div class="submit mt-4"> |
230 | 21 {{ field.submit() }} |
22 </div> | |
23 {% endcall %} | |
24 |