add a new moderator field on events

This commit is contained in:
2019-01-15 16:01:04 +01:00
parent 7836ece3ee
commit ca6f836195
7 changed files with 73 additions and 1 deletions

View File

@@ -14,6 +14,7 @@
{{ form_row(edit_form.name) }}
{{ form_row(edit_form.date) }}
{{ form_row(edit_form.type, { 'label': 'Event type' }) }}
{{ form_row(edit_form.moderator) }}
<ul class="record_actions">
<li>

View File

@@ -25,6 +25,11 @@
<th>{{ 'Circle'|trans }}</th>
<td>{{ event.circle.name|localize_translatable_string }}</td>
</tr>
<tr>
<th>{{ 'Moderator'|trans }}</th>
<td>{{ event.moderator|trans|default('-') }}</td>
</tr>
</tbody>
</table>