diff --git a/assets/styles/app.css b/assets/styles/app.css index b027255..3b5391f 100644 --- a/assets/styles/app.css +++ b/assets/styles/app.css @@ -13,17 +13,24 @@ a { color: inherit; - text-decoration: none; transition: all ease-out 0.3s; &:hover { font-weight: 700; } + &.no-style { + text-decoration: none; + } } /*Main content (between header and footer)*/ body > main { min-height: calc(100vh - ((2rem + 2 * 0.75rem) + 6rem)); - height: fit-content; + /* height: fit-content; */ + width: 100%; + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; } /*fix symfony template style*/ diff --git a/templates/base.html.twig b/templates/base.html.twig index f5043b5..b4282ba 100644 --- a/templates/base.html.twig +++ b/templates/base.html.twig @@ -16,7 +16,7 @@ {% block header %}
- Frutti + Frutti
+ {{ form_errors(registrationForm.plainPassword) }} + + -{% block body %} -

Register

+ {{ form_row(registrationForm.agreeTerms) }} - {{ form_errors(registrationForm) }} + +

+ If you don't have an account: + register. +

- {{ form_start(registrationForm) }} - {{ form_row(registrationForm.username) }} - {{ form_row(registrationForm.plainPassword, { - label: 'Password' - }) }} - {{ form_row(registrationForm.agreeTerms) }} - - {{ form_end(registrationForm) }} + {% endblock %} diff --git a/templates/security/login.html.twig b/templates/security/login.html.twig index fb532dd..9e19526 100644 --- a/templates/security/login.html.twig +++ b/templates/security/login.html.twig @@ -1,40 +1,23 @@ {% extends 'base.html.twig' %} {% block title %}Log in!{% endblock %} {% block body %}