collection-crud/templates/brand_category/new.html.twig

23 lines
483 B
Twig
Raw Normal View History

2022-10-13 22:26:33 -04:00
{% extends 'form.html.twig' %}
{% block title %}New Brand Category{% endblock %}
{% block form %}
<h2>Create new Brand Category</h2>
<div class="small callout">
<ul>
<li>
<a href="{{ path('brand-category_index') }}">Back to the list</a>
</li>
</ul>
</div>
<div class="large primary callout">
{{ form_start(form) }}
{{ form_widget(form) }}
<button type="submit" class="success button expanded">Add</button>
{{ form_end(form) }}
</div>
{% endblock %}