This repository has been archived on 2024-10-16. You can view files and clone it, but cannot push or open issues or pull requests.
pflaenz.li-Symfony/templates/offer/edit.html.twig

21 lines
570 B
Twig
Raw Permalink Normal View History

2021-05-09 17:23:02 +02:00
{% extends 'base.html.twig' %}
2021-09-04 12:00:46 +02:00
{% block title%}Edit offer{% endblock %}
2021-05-09 17:23:02 +02:00
{% block body %}
{% for message in app.flashes('error') %}
<div class="alert alert-error" role="alert">
{{ message }}
</div>
{% endfor %}
2021-09-04 12:00:46 +02:00
<h1 class="mb-3">Edit offer</h1>
2021-05-09 17:23:02 +02:00
{{ form_start(offer_form) }}
{{ form_row(offer_form.title) }}
{{ form_row(offer_form.zipCode) }}
{{ form_row(offer_form.description) }}
{{ form_row(offer_form.photo, {
label: 'Choose file'
}) }}
{{ form_end(offer_form) }}
{% endblock %}