Skip to content

Commit

Permalink
Merge pull request #130 from Arquisoft/add-register-link
Browse files Browse the repository at this point in the history
Added register link
  • Loading branch information
Pelayori authored Mar 9, 2024
2 parents f51b68c + 0504bae commit b08226e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/main/resources/messages.properties
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ login.password.placeholder=Password_Ejemplo
login.sumbit=Iniciar sesión
login.error=Error:
login.title=Identifícate
login.register=¿No tienes cuenta? Regístrate aquí

# -------------------Statements for the signup.html file---------------------
signup.username.label=Nombre de usuario:
Expand Down
1 change: 1 addition & 0 deletions src/main/resources/messages_en.properties
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ login.password.placeholder=Password_Example
login.sumbit=Log in
login.error=Error:
login.title=Log in
login.register=Don't have an account? Sign up here

# -------------------Statements for the signup.html file---------------------
signup.username.label=Username:
Expand Down
1 change: 1 addition & 0 deletions src/main/resources/messages_es.properties
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ login.password.placeholder=Password_Ejemplo
login.sumbit=Iniciar sesión
login.error=Error:
login.title=Identifícate
login.register=¿No tienes cuenta? Regístrate aquí

# -------------------Statements for the signup.html file---------------------
signup.username.label=Nombre de usuario:
Expand Down
5 changes: 4 additions & 1 deletion src/main/resources/templates/player/login.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://thymeleaf.org">
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head th:replace="~{fragments/head}"/>
<body>
<nav th:replace="~{fragments/nav}"/>
Expand Down Expand Up @@ -32,6 +32,9 @@ <h2 th:text="#{login.title}"> </h2>
</div>
<input type="hidden" th:name="${_csrf.parameterName}" th:value="${_csrf.token}" />
</form>
<div>
<a th:href="@{/signup}" th:text="#{login.register}"></a>
</div>
</div>
<footer th:replace="~{fragments/footer}"/>
</body>
Expand Down

0 comments on commit b08226e

Please sign in to comment.