Skip to content

Instantly share code, notes, and snippets.

@NandoKstroNet
Created April 22, 2019 18:33
Show Gist options
  • Save NandoKstroNet/3d0989bf6021073bbf7257d0b4d0200d to your computer and use it in GitHub Desktop.
Save NandoKstroNet/3d0989bf6021073bbf7257d0b4d0200d to your computer and use it in GitHub Desktop.
View de login utilizado no curso Symfony 4 na Prática em https://codeexpertslearning.com.br
{% if error %}
<div>{{ error.messageKey|trans(error.messageData, 'security') }}</div>
{% endif %}
<form action="{{ path('login') }}" 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"/>
<button type="submit">login</button>
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment