pflaenz.li-Symfony/templates/app/new_listing.html.twig

19 lines
552 B
Twig
Raw Normal View History

2021-04-28 00:15:13 +02:00
{% extends 'base.html.twig' %}
{% block body %}
2021-04-30 19:22:50 +02:00
{% for message in app.flashes('error') %}
<div class="alert alert-error" role="alert">
{{ message }}
</div>
{% endfor %}
2021-04-30 17:08:34 +02:00
<h1 class="mb-3">Add new offering</h1>
2021-05-04 14:28:06 +02:00
{{ form_start(offering_form) }}
{{ form_row(offering_form.title) }}
{{ form_row(offering_form.zipCode) }}
{{ form_row(offering_form.description) }}
{{ form_row(offering_form.photo, {
label: 'Choose file'
}) }}
{{ form_end(offering_form) }}
2021-04-28 00:15:13 +02:00
{% endblock %}