fix the layout of the forms

The layout is now consistent with the view page
This commit is contained in:
2016-03-09 14:42:42 +01:00
parent 77b7333fea
commit 3acea7967c
3 changed files with 16 additions and 9 deletions

View File

@@ -25,7 +25,18 @@
{{ form_start(form) }}
{{ form_widget(form) }}
{{ form_row(form.user) }}
{{ form_row(form.scope) }}
<h2 class="chill-red">{{ 'Activity data'|trans }}</h2>
{{ form_row(form.date) }}
{{ form_row(form.durationTime) }}
{{ form_row(form.type) }}
{{ form_row(form.remark) }}
{{ form_row(form.attendee) }}
{{ form_row(form.reasons) }}
<div class="grid-12 centered sticky-form-buttons">
<button class="sc-button green margin-10" type="submit"><i class="fa fa-save"></i> {{ 'Add a new activity'|trans }}</button>
</div>