mirror of
https://github.com/kmitresse/Cards-Rush.git
synced 2026-07-09 13:27:45 +00:00
feat: devWeb - Make translation on login page
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
<%@ page import="uppa.project.web.translation.Translator" %>
|
||||
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
|
||||
<%@taglib prefix="layout" tagdir="/WEB-INF/tags/layouts" %>
|
||||
<%@taglib prefix="component" tagdir="/WEB-INF/tags/components" %>
|
||||
<%@taglib prefix="form" tagdir="/WEB-INF/tags/forms" %>
|
||||
<% Translator translator = (Translator) request.getSession().getAttribute("translator"); %>
|
||||
|
||||
<layout:form title="Connexion">
|
||||
<layout:form title='<%= translator.translate("login_title") %>'>
|
||||
<jsp:attribute name="script">
|
||||
<script defer type="module" src="${pageContext.request.contextPath}/static/js/form/login.js"></script>
|
||||
</jsp:attribute>
|
||||
@@ -12,10 +14,10 @@
|
||||
<div class="columns is-centered">
|
||||
<div class="column is-5-tablet is-5-desktop is-5-widescreen">
|
||||
<div class="box">
|
||||
<h1 class="title has-text-centered">Se connecter</h1>
|
||||
<h1 class="title has-text-centered">${translator.translate("login_title")} </h1>
|
||||
<form:login/>
|
||||
<hr/>
|
||||
<p class="content has-text-centered">Vous n'avez pas de compte ? <a href="${pageContext.request.contextPath}/register">S'inscrire</a>
|
||||
<p class="content has-text-centered"> ${translator.translate("login_not_registered")} <a href="${pageContext.request.contextPath}/register">${translator.translate("login_register")}</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user