parent
be057a316d
commit
c806227de2
@ -0,0 +1,15 @@
|
||||
{% extends 'base.html.twig' %}
|
||||
|
||||
{% block title %}Edit Post{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<h1>Edit Post</h1>
|
||||
|
||||
{{ form_start(form) }}
|
||||
{{ form_widget(form) }}
|
||||
|
||||
<button type="submit" class="btn btn-primary">Save changes</button>
|
||||
{{ form_end(form) }}
|
||||
|
||||
<a href="{{ path('app_posts') }}" class="btn btn-secondary">Back to posts</a>
|
||||
{% endblock %}
|
Loading…
Reference in new issue