fix admin comment title - remove useless template

This commit is contained in:
Simon Vieille 2021-04-11 17:17:22 +02:00
parent 9a7a6ef449
commit d0fd31283c
2 changed files with 1 additions and 42 deletions

View File

@ -6,7 +6,7 @@
<div class="bg-light pl-5 pr-4 pt-5">
<div class="d-flex">
<div class="mr-auto w-50">
<h1 class="display-5">Articles</h1>
<h1 class="display-5">{{ 'Commentaires'|trans }}</h1>
</div>
</div>

View File

@ -1,41 +0,0 @@
{% extends '@Core/admin/layout.html.twig' %}
{% block title %}{{ 'Commentaires'|trans }} - {{ parent() }}{% endblock %}
{% block body %}
<div class="bg-light pl-5 pr-4 pt-5 pb-5">
<div class="d-flex">
<div class="mr-auto w-50">
<h1 class="display-5">Nouvel article</h1>
</div>
<div class="ml-auto">
<div class="btn-group">
<a href="{{ path('admin_blog_comment_index') }}" class="btn btn-light">
<span class="fa fa-list pr-1"></span>
Retour à la liste
</a>
<button type="submit" form="form-main" class="btn btn-primary">
<span class="fa fa-save pr-1"></span>
Enregistrer
</button>
</div>
</div>
</div>
</div>
<form action="{{ app.request.uri }}" method="post" id="form-main" enctype="multipart/form-data">
<div class="tab-content">
<div class="tab-pane active">
<div class="tab-form">
{{ include('blog/comment_admin/_form.html.twig') }}
</div>
</div>
</div>
{{ form_rest(form) }}
</form>
{% endblock %}