start_sf5_project/app/templates/beer/_form.html.twig

5 lines
178 B
Twig
Raw Normal View History

2021-02-18 19:13:14 +00:00
{{ form_start(form) }}
{{ form_widget(form) }}
<button class="btn btn-{{ btn_color|default('primary')}}">{{ button_label|default('Save') }}</button>
2021-02-18 19:13:14 +00:00
{{ form_end(form) }}