collection-crud/app/Resources/views/camera/new.html.twig

23 lines
439 B
Twig
Raw Normal View History

2017-11-09 11:53:01 -05:00
{% extends 'form.html.twig' %}
{% block form %}
2017-11-10 15:50:05 -05:00
<h2>Add a Camera</h2>
2017-11-09 11:53:01 -05:00
2017-11-10 15:50:05 -05:00
<div class="small callout">
2017-11-09 11:53:01 -05:00
<ul>
<li>
<a href="{{ path('camera_index') }}">Back to the list</a>
</li>
</ul>
</div>
2017-11-10 15:50:05 -05:00
<div class="large primary callout">
2017-11-09 11:53:01 -05:00
{{ form_start(form) }}
{{ form_widget(form) }}
<button type="submit" class="button">Add</button>
{{ form_end(form) }}
</div>
{% endblock %}