35 lines
1.1 KiB
Twig
35 lines
1.1 KiB
Twig
|
{% extends 'admin/base-admin.html.twig' %}
|
||
|
{% block title %}{{ title }}{% endblock %}
|
||
|
|
||
|
{% block body %}
|
||
|
<div class="container-fluid">
|
||
|
<h1>{{ title }}</h1>
|
||
|
{{ form_start(form) }}
|
||
|
{{ form_errors(form) }}
|
||
|
<div class="form-outline">
|
||
|
{{ form_widget(form.title) }}
|
||
|
{{ form_label(form.title, null, {'label_attr': {'class': 'form-label'}}) }}
|
||
|
</div>
|
||
|
|
||
|
<div class="form-outline">
|
||
|
{{ form_widget(form.description) }}
|
||
|
{{ form_label(form.description, null, {'label_attr': {'class': 'form-label'}}) }}
|
||
|
</div>
|
||
|
|
||
|
<div class="form-outline">
|
||
|
{{ form_widget(form.content) }}
|
||
|
{{ form_label(form.content, null, {'label_attr': {'class': 'form-label'}}) }}
|
||
|
</div>
|
||
|
|
||
|
<div class="form-outline">
|
||
|
{{ form_label(form.publishedAt) }}
|
||
|
{{ form_widget(form.publishedAt) }}
|
||
|
</div>
|
||
|
|
||
|
{{ form_row(form.categories) }}
|
||
|
|
||
|
{{ form_row(form.save) }}
|
||
|
{{ form_end(form) }}
|
||
|
</div>
|
||
|
{% endblock %}
|