style: some styles

This commit is contained in:
Ondrej Vlach 2024-01-16 23:24:59 +01:00
parent 63783cb90f
commit 435b23635b
Signed by: ovlach
GPG Key ID: 4FF1A23B4914DE70

View File

@ -1,6 +1,98 @@
{% extends 'base.html.twig' %} {% extends 'base.html.twig' %}
{% block body %} {% block body %}
Homepage <div class="container">
{{ form(form) }} {{ form_start(form) }}
<div class="mb-3 col-auto">
{{ form_label(form.iban) }}
{{ form_widget(form.iban) }}
<small>{{ form_help(form.iban) }}</small>
<div class="form-error">
{{ form_errors(form.iban) }}
</div>
</div>
<div class="mb-3 col-auto">
{{ form_label(form.dueDate) }}
{{ form_widget(form.dueDate) }}
<small>{{ form_help(form.dueDate) }}</small>
<div class="form-error">
{{ form_errors(form.dueDate) }}
</div>
</div>
<div class="mb-3 col-auto">
{{ form_label(form.message) }}
{{ form_widget(form.message) }}
<small>{{ form_help(form.message) }}</small>
<div class="form-error">
{{ form_errors(form.message) }}
</div>
</div>
{# money #}
<div class="mb-3 col-auto">
<div class="d-flex">
<div class="p-2">
{{ form_label(form.money.amount) }}
{{ form_widget(form.money.amount) }}
<small>{{ form_help(form.money.amount) }}</small>
<div class="form-error">
{{ form_errors(form.money.amount) }}
</div>
</div>
<div class="p-2">
{{ form_label(form.money.currency) }}
{{ form_widget(form.money.currency) }}
<small>{{ form_help(form.money.currency) }}</small>
<div class="form-error">
{{ form_errors(form.money.currency) }}
</div>
</div>
</div>
</div>
{# payment identification #}
<div class="mb-3 col-auto">
<div class="d-flex">
<div class="p-2">
{{ form_label(form.paymentIdentification.variableSymbol) }}
{{ form_widget(form.paymentIdentification.variableSymbol) }}
<small>{{ form_help(form.paymentIdentification.variableSymbol) }}</small>
<div class="form-error">
{{ form_errors(form.paymentIdentification.variableSymbol) }}
</div>
</div>
<div class="p-2">
{{ form_label(form.paymentIdentification.constantSymbol) }}
{{ form_widget(form.paymentIdentification.constantSymbol) }}
<small>{{ form_help(form.paymentIdentification.constantSymbol) }}</small>
<div class="form-error">
{{ form_errors(form.paymentIdentification.constantSymbol) }}
</div>
</div>
<div class="p-2">
{{ form_label(form.paymentIdentification.specificSymbol) }}
{{ form_widget(form.paymentIdentification.specificSymbol) }}
<small>{{ form_help(form.paymentIdentification.specificSymbol) }}</small>
<div class="form-error">
{{ form_errors(form.paymentIdentification.specificSymbol) }}
</div>
</div>
</div>
</div>
{{ form_end(form) }}
</div>
{% endblock %} {% endblock %}