%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /www/varak.net/paste.varak.net-5.6/app/views/skins/bootstrap/user/
Upload File :
Create Path :
Current File : /www/varak.net/paste.varak.net-5.6/app/views/skins/bootstrap/user/login.blade.php

@extends("skins.bootstrap.common.{$container}")

@section('body')
	<section id="login">
		{{
			Form::open(array(
				'autocomplete'   => 'off',
				'role'           => 'form'
			))
		}}

		<div class="row">
			<div class="col-sm-8 col-sm-offset-2 col-md-6 col-md-offset-3">
				<fieldset>
					<legend>{{ sprintf(Lang::get('user.login_to'), $site->general->title) }}</legend>

					@if ( ! empty($site->auth->bannerText))
						<div class="alert alert-info">
							{{ $site->auth->bannerText }}
						</div>
					@endif

					@include('skins.bootstrap.common.alerts')

					<div class="form-group">
						{{ Form::label('username', Lang::get('global.username')) }}

						{{
							Form::text('username', NULL, array(
								'class'       => 'form-control',
								'maxlength'   => 50
							))
						}}
					</div>

					<div class="form-group">
						{{ Form::label('password', Lang::get('global.password')) }}

						{{
							Form::password('password', array(
								'class' => 'form-control'
							))
						}}
					</div>

					<div class="checkbox">
						<label>
							{{
								Form::checkbox('remember', NULL, NULL, array(
									'id' => 'remember'
								))
							}}

							{{ Lang::get('user.remember') }}
						</label>
					</div>

					{{
						Form::submit(Lang::get('user.login'), array(
							'name'    => '_login',
							'class'   => 'btn btn-primary'
						))
					}}

					@if ($site->auth->method == 'db')
						@if ($site->auth->dbAllowReg)
							{{
								link_to('user/register', Lang::get('user.create_acct'), array(
									'class'   => 'btn btn-link',
								))
							}}
						@endif

						{{
							link_to('user/forgot', Lang::get('user.forgot_password'), array(
								'class'   => 'btn btn-link',
							))
						}}
					@endif

					@if ( ! empty($site->auth->infoUrl) AND ! empty($site->auth->infoUrlText))
						{{
							link_to($site->auth->infoUrl, $site->auth->infoUrlText, array(
								'class'   => 'btn btn-link',
							))
						}}
					@endif
				</fieldset>
			</div>
		</div>

		{{ Form::close() }}
	</section>
@stop

Zerion Mini Shell 1.0