sticky submit and reset buttons ref #336

This commit is contained in:
Marc Ducobu
2014-11-18 09:35:06 +01:00
parent d86b5d1921
commit c3fc6295cc
3 changed files with 16 additions and 8 deletions

View File

@@ -21,5 +21,12 @@
{% block title %}{{ 'Ajout d\' un rapport' |trans() }}{% endblock title %}
{% block personcontent %}
{{ form(form) }}
{% endblock %}
{{ form_start(form) }}
{{ form_widget(form) }}
<div class="grid-12 centered sticky-form-buttons">
<button class="sc-button green" type="submit"><i class="fa fa-save"></i> Save</button>
<button class="sc-button red" type="reset"><i class="fa fa-eraser"></i>Reset</button>
</div>
{{ form_end(form) }}
{% endblock %}