+ {% if form.modify is defined or form.move is defined or form.cancel is defined or form.raincancel is defined or form.forcecancel is defined or is_granted('ROLE_ADMIN') %}
{{ form_start(form) }}
{% if form.modify is defined %}
- {% if is_granted('ROLE_REGULAR') %}
- <div>
- {{ form_row(form.begin) }}
-
- {{ form_row(form.length) }}
-
- {{ form_row(form.modify) }}
- </div>
- {% endif %}
- {% if is_granted('ROLE_SENIOR') %}
- <div class="dangerous">
- {{ form_row(form.location) }}
-
- {{ form_row(form.move) }}
- </div>
- {% endif %}
+ <div>
+ {{ form_row(form.begin) }}
+
+ {{ form_row(form.length) }}
+
+ {{ form_row(form.modify) }}
+ </div>
+ {% endif %}
+ {% if form.move is defined %}
+ <div class="dangerous">
+ {{ form_row(form.location) }}
+
+ {{ form_row(form.move) }}
+ </div>
+ {% endif %}
+ {% if form.cancel is defined or form.raincancel is defined or form.forcecancel is defined or is_granted('ROLE_ADMIN') %}