14 lines
524 B
Twig
14 lines
524 B
Twig
{% extends 'GergelyPolonkaiFrontBundle:Admin:index.html.twig' %}
|
|
|
|
{% block admincontent %}
|
|
{% if post.id is not null %}
|
|
<form method="post" action="{{ path('GergelyPolonkaiFrontBundle_adminEditBlogPost', {id: post.id}) }}">
|
|
{% else %}
|
|
<form method="post" action="{{ path('GergelyPolonkaiFrontBundle_adminEditBlogPost') }}">
|
|
{% endif %}
|
|
{{ form_widget(form) }}
|
|
<button type="submit">Save</button>
|
|
<a href="{{ path('GergelyPolonkaiFrontBundle_adminBlogList') }}">Cancel</a>
|
|
</form>
|
|
{% endblock admincontent %}
|