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

24 lines
460 B
Twig
Raw Permalink Normal View History

2022-09-29 20:09:31 -04:00
{% extends 'form.html.twig' %}
{% block title %}Brands - New{% endblock %}
{% block form %}
<h1>Create new Brand</h1>
<div class="small callout">
<ul>
<li>
<a href="{{ path('brand_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 %}