Created
December 17, 2015 09:30
-
-
Save GabrielCW/fd524fca72dc0027fd49 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% extends '::base.html.twig' %} | |
{% block body %} | |
{% if error %} | |
<div>{{ error.messageKey|trans(error.messageData, 'security') }}</div> | |
{% endif %} | |
<form action="{{ path('login_check') }}" method="post"> | |
<label for="username">Username:</label> | |
<input type="text" id="username" name="_username" value="{{ last_username }}" /> | |
<label for="password">Password:</label> | |
<input type="password" id="password" name="_password" /> | |
{# | |
If you want to control the URL the user | |
is redirected to on success (more details below) | |
<input type="hidden" name="_target_path" value="/account" /> | |
#} | |
<button type="submit">login</button> | |
</form> | |
{% endblock %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment