From: Raphaƫl Gertz Date: Mon, 28 Dec 2020 08:15:56 +0000 (+0100) Subject: Prefix title with site title X-Git-Tag: 0.1.7~6 X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/airbundle/commitdiff_plain/c60db40db3fd939c293780703eb6b8f18da9f858?ds=inline Prefix title with site title Cleanup Add donation and site form row --- diff --git a/Resources/views/form/login.html.twig b/Resources/views/form/login.html.twig index cdfeca5..927c243 100644 --- a/Resources/views/form/login.html.twig +++ b/Resources/views/form/login.html.twig @@ -1,15 +1,16 @@ {% extends '@RapsysAir/body.html.twig' %} +{% block title %}{{ site.title }} - {{ title }}{% endblock %} {% block content %}

{% trans %}Login{% endtrans %}

{{ form_start(login) }} -
+
{{ form_row(login.mail) }} {{ form_row(login.password) }} {{ form_row(login.submit) }} -
+ {# Render CSRF token etc .#}
{{ form_rest(login) }}
diff --git a/Resources/views/form/recover.html.twig b/Resources/views/form/recover.html.twig index 68399a0..310b485 100644 --- a/Resources/views/form/recover.html.twig +++ b/Resources/views/form/recover.html.twig @@ -1,4 +1,5 @@ {% extends '@RapsysAir/body.html.twig' %} +{% block title %}{{ site.title }} - {{ title }}{% endblock %} {% block content %}

{% trans %}Recover{% endtrans %}

diff --git a/Resources/views/form/recover_mail.html.twig b/Resources/views/form/recover_mail.html.twig index 9389be9..5ab1758 100644 --- a/Resources/views/form/recover_mail.html.twig +++ b/Resources/views/form/recover_mail.html.twig @@ -1,4 +1,5 @@ {% extends '@RapsysAir/body.html.twig' %} +{% block title %}{{ site.title }} - {{ title }}{% endblock %} {% block content %}

{% trans %}Recover{% endtrans %}

@@ -7,20 +8,16 @@ {% elseif not found %}

{% trans %}Unable to find account{% endtrans %}

{% else %} -
- {{ form_start(form) }} -
- {{ form_row(form.password) }} -
+ {{ form_start(form) }} +
+ {{ form_row(form.password) }} {{ form_row(form.submit) }} +
- {# Render CSRF token etc .#} -
- {{ form_rest(form) }} -
- {{ form_end(form) }} -
+ {# Render CSRF token etc .#} +
{{ form_rest(form) }}
+ {{ form_end(form) }} {% endif %}
{% endblock %} diff --git a/Resources/views/form/register.html.twig b/Resources/views/form/register.html.twig index 7f1e1e0..d50c5d0 100644 --- a/Resources/views/form/register.html.twig +++ b/Resources/views/form/register.html.twig @@ -1,4 +1,5 @@ {% extends '@RapsysAir/body.html.twig' %} +{% block title %}{{ site.title }} - {{ title }}{% endblock %} {% block content %}

{% trans %}Register{% endtrans %}

@@ -23,6 +24,10 @@ {{ form_row(form.phone) }} + {{ form_row(form.donation) }} + + {{ form_row(form.site) }} + {{ form_row(form.submit) }}