collection-crud/templates/cameratype/edit.html.twig

31 lines
637 B
Twig
Raw Normal View History

2017-11-09 11:53:01 -05:00
{% extends 'form.html.twig' %}
{% block title %}
Camera 📷 CRUD - Camera Type - Edit
{% endblock %}
2017-11-09 11:53:01 -05:00
{% block form %}
2018-02-14 15:08:03 -05:00
<h2>Edit Camera Type</h2>
2017-11-09 11:53:01 -05:00
2018-02-14 15:08:03 -05:00
<div class="small callout">
2017-11-09 11:53:01 -05:00
<ul>
2018-02-14 15:08:03 -05:00
<li>
<a href="{{ path('camera-type_index') }}">Back to the list</a>
</li>
</ul>
2017-11-09 11:53:01 -05:00
</div>
2018-02-14 15:08:03 -05:00
<div class="large callout primary">
2022-10-28 08:46:35 -04:00
{{ form_start(form) }}
{{ form_widget(form) }}
2018-07-16 14:03:02 -04:00
<button type="submit" class="success button expanded">Save</button>
2022-10-28 08:46:35 -04:00
{{ form_end(form) }}
2017-11-09 11:53:01 -05:00
<hr />
2018-02-14 15:08:03 -05:00
{{ form_start(delete_form) }}
2018-07-16 14:03:02 -04:00
<button type="submit" class="alert button expanded">Delete</button>
2018-02-14 15:08:03 -05:00
{{ form_end(delete_form) }}
</div>
2017-11-09 11:53:01 -05:00
{% endblock %}