25 lines
No EOL
659 B
Twig
25 lines
No EOL
659 B
Twig
{% extends 'base.html.twig' %}
|
|
|
|
{% block title %}New Offer{% endblock %}
|
|
|
|
{% block javascripts %}
|
|
{{ encore_entry_script_tags('fileUpload') }}
|
|
{% endblock %}
|
|
|
|
{% block body %}
|
|
{% for message in app.flashes('error') %}
|
|
<div class="alert alert-error" role="alert">
|
|
{{ message }}
|
|
</div>
|
|
{% endfor %}
|
|
|
|
<h1 class="mb-3">Add new offer</h1>
|
|
{{ 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 %} |