diff --git a/src/Gist/Resources/views/Login/login.html.twig b/src/Gist/Resources/views/Login/login.html.twig index f551214..f313bdd 100644 --- a/src/Gist/Resources/views/Login/login.html.twig +++ b/src/Gist/Resources/views/Login/login.html.twig @@ -24,19 +24,19 @@
{{ form_errors(form._username) }} {{ form_widget(form._username) }} -
- + +{{ form_errors(form._password) }} {{ form_widget(form._password) }} -
- + +{{ form_errors(form._remember_me) }} {{ form_widget(form._remember_me) }} {{ form_label(form._remember_me) }} -
- + +diff --git a/src/Gist/Resources/views/Login/register.html.twig b/src/Gist/Resources/views/Login/register.html.twig index 0650bff..051b398 100644 --- a/src/Gist/Resources/views/Login/register.html.twig +++ b/src/Gist/Resources/views/Login/register.html.twig @@ -1,52 +1,52 @@ {% extends 'base.html.twig' %} {% block title %} - {{ 'login.register.title'|trans }} + {{ 'login.register.title'|trans }} {% endblock %} {% block body %}
- {{ gist.title ? gist.title : 'gist.untitled'|trans }}, - {{ gist.createdAt|date('date.format'|trans) }} -
+ {% for gist in gists %} ++ {{ gist.title ? gist.title : 'gist.untitled'|trans }}, + {{ gist.createdAt|date('date.format'|trans) }} +
-- +
+ - {% if not gist.cipher %} - - {{ 'gist.action.view'|trans }} - - {% else %} - - {% endif %} + {% if not gist.cipher %} + + {{ 'gist.action.view'|trans }} + + {% else %} + + {% endif %} -
-