Sylius/app/Resources/FOSUserBundle/views/Security/login.html.twig
Joseph Bielawski 545c17bdfc Fix compatibility with new version of HWIOAuthBundle
Add missing facebook logo, rework some html stuff with new design
2013-10-30 10:24:58 +01:00

49 lines
1.5 KiB
Twig

{% extends 'SyliusWebBundle:Frontend:layout.html.twig' %}
{% block content %}
<div class="page-header">
<h1>Login <small>Sylius store</small></h1>
</div>
{% if error %}
<div class="alert alert-error">
{{ error }}
</div>
{% endif %}
<blockquote>
<p>Please login using "<strong>sylius@example.com</strong>" email and "<strong>sylius</strong>" as password.</p>
<small>Mr. Sylius Demo Guide</small>
</blockquote>
<form action="{{ path('fos_user_security_check') }}" method="post">
<fieldset>
<div class="form-group">
<label for="username" class="control-label">Email</label>
<div class="controls">
<input type="text" id="username" name="_username" value="{{ last_username }}" class="form-control" />
</div>
</div>
<div class="form-group">
<label for="password" class="control-label">Password</label>
<div class="controls">
<input type="password" id="password" name="_password" class="form-control" />
</div>
</div>
<div class="form-group">
<div class="controls">
<label for="remember_me">
Remember me? &nbsp; <input type="checkbox" id="remember_me" name="_remember_me" value="on" />
</label>
</div>
</div>
</fieldset>
<div class="form-actions clearfix">
<div class="pull-right">
{{ render(url('hwi_oauth_connect')) }}
</div>
<button type="submit" class="btn btn-primary btn-lg pull-left" name="login"><i class="icon-lock"></i> Login</button>
</div>
</form>
{% endblock %}