update theme
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
{% extends 'base.html.twig' %}
|
||||
|
||||
{% block title %}Log in{% endblock %}
|
||||
{% block title %}Connexion — Actorle{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<div class="auth-container">
|
||||
<h1>Log in</h1>
|
||||
<h1>Se connecter</h1>
|
||||
|
||||
{% if error %}
|
||||
<div class="auth-error">{{ error.messageKey|trans(error.messageData, 'security') }}</div>
|
||||
@@ -14,14 +14,14 @@
|
||||
<label for="inputEmail">Email</label>
|
||||
<input type="email" value="{{ last_username }}" name="_username" id="inputEmail" autocomplete="email" required autofocus>
|
||||
|
||||
<label for="inputPassword">Password</label>
|
||||
<label for="inputPassword">Mot de passe</label>
|
||||
<input type="password" name="_password" id="inputPassword" autocomplete="current-password" required>
|
||||
|
||||
<input type="hidden" name="_csrf_token" value="{{ csrf_token('authenticate') }}">
|
||||
|
||||
<button type="submit">Sign in</button>
|
||||
<button type="submit">Connexion</button>
|
||||
</form>
|
||||
|
||||
<p class="auth-link">No account yet? <a href="{{ path('app_register') }}">Register</a></p>
|
||||
<p class="auth-link">Pas encore de compte ? <a href="{{ path('app_register') }}">S'inscrire</a></p>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
@@ -1,19 +1,19 @@
|
||||
{% extends 'base.html.twig' %}
|
||||
|
||||
{% block title %}Register{% endblock %}
|
||||
{% block title %}Inscription — Actorle{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<div class="auth-container">
|
||||
<h1>Register</h1>
|
||||
<h1>Créer un compte</h1>
|
||||
|
||||
{{ form_start(registrationForm) }}
|
||||
{{ form_row(registrationForm.email) }}
|
||||
{{ form_row(registrationForm.plainPassword.first) }}
|
||||
{{ form_row(registrationForm.plainPassword.second) }}
|
||||
|
||||
<button type="submit">Create account</button>
|
||||
<button type="submit">S'inscrire</button>
|
||||
{{ form_end(registrationForm) }}
|
||||
|
||||
<p class="auth-link">Already have an account? <a href="{{ path('app_login') }}">Log in</a></p>
|
||||
<p class="auth-link">Déjà un compte ? <a href="{{ path('app_login') }}">Se connecter</a></p>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user