Refactorig (indentation) views/Login/login.html.twig

This commit is contained in:
Marc Ducobu 2015-08-03 18:01:51 +02:00
parent 687f950ab4
commit bf80106bd4

View File

@ -30,7 +30,6 @@
<link rel="stylesheet" href="{{ asset_url }}"/> <link rel="stylesheet" href="{{ asset_url }}"/>
{% endstylesheets %} {% endstylesheets %}
<style> <style>
html, body { html, body {
height: 100%; height: 100%;
@ -90,28 +89,25 @@
padding: 4px 8px; padding: 4px 8px;
font-family: 'open_sanslight'; font-family: 'open_sanslight';
} }
</style> </style>
</head> </head>
<body> <body>
<div id="content"> <div id="content">
<img class="logo" src="/bundles/chillmain/img/logo-chill-outil-accompagnement_white.png"> <img class="logo" src="/bundles/chillmain/img/logo-chill-outil-accompagnement_white.png">
<p>{{ error|trans }}</p> <p>{{ error|trans }}</p>
<form method="POST" action="{{ path('login_check') }}"> <form method="POST" action="{{ path('login_check') }}">
<label for="_username">{{ 'Username'|trans }}</label> <label for="_username">{{ 'Username'|trans }}</label>
<input type="text" name="_username" value="{{ last_username }}" /> <input type="text" name="_username" value="{{ last_username }}" />
<br/> <br/>
<label for="_password">{{ 'Password'|trans }}</label> <label for="_password">{{ 'Password'|trans }}</label>
<input type="password" name="_password" /> <input type="password" name="_password" />
<input type="hidden" name="_csrf_token" value="{{ csrf_token('authenticate') }}" /> <input type="hidden" name="_csrf_token" value="{{ csrf_token('authenticate') }}" />
<br/> <br/>
<button type="submit" name="login">{{ 'Login'|trans }}</button> <button type="submit" name="login">{{ 'Login'|trans }}</button>
</form> </form>
</div> </div>
</body> </body>
</html> </html>