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

27 lines
476 B
Twig
Raw Normal View History

2017-11-09 11:53:01 -05:00
{% extends 'form.html.twig' %}
{% block title %}
Camera 📷 CRUD - Cameras - Add
{% endblock %}
2017-11-09 11:53:01 -05:00
{% block form %}
2018-02-14 15:08:03 -05:00
<h2>Add a Camera</h2>
2017-11-09 11:53:01 -05:00
2018-02-14 15:08:03 -05:00
<div class="small callout">
<ul>
<li>
<a href="{{ path('camera_index') }}">Back to the list</a>
2017-11-09 11:53:01 -05:00
</li>
</ul>
2018-02-14 15:08:03 -05:00
</div>
2017-11-09 11:53:01 -05:00
2017-11-10 15:50:05 -05:00
<div class="large primary callout">
2018-02-14 15:08:03 -05:00
{{ form_start(form) }}
{{ form_widget(form) }}
2018-07-16 14:03:02 -04:00
<button type="submit" class="success button expanded">Add</button>
2018-02-14 15:08:03 -05:00
{{ form_end(form) }}
2017-11-09 11:53:01 -05:00
</div>
{% endblock %}