<#import "../layout/defaultLayout.ftl.html" as layout> <@layout.myLayout "Home page">

<div class="container">
	<div class="alert alert-info">
		<b>Pssst.</b> Default user is "bob@gmail.com" / password is "secret".
	</div>

	<!-- Example row of columns -->
	<div class="row">
		<div class="col-lg-8">

			<form action="/login" method="post" class="form-horizontal" role="form">
			
			    <div class="form-group">
                    <label for="username" class="col-lg-4 control-label">${i18n("login.username")}</label>
                    <div class="col-lg-8">
                        <input type="text" id="username" class="form-control" value="${(flash.username)!""}" name="username" id="username">
                    </div>
                </div>
                
                <div class="form-group">
                    <label for="password" class="col-lg-4 control-label">${i18n("login.password")}</label>
                    <div class="col-lg-8">
                        <input type="password" class="form-control" name="password" id="password" value="${(flash.password)!""}">
                    </div>
                </div>
			
				<button type="submit" class="btn btn-success pull-right">${i18n("login.loginNowButton")}</button>
			</form>

		</div>
	</div>
</div>



	</@layout.myLayout>