@extends('hello')

@section('content')

@if (Session::has('error'))
    {{ trans(Session::get('reason')) }}
@elseif (Session::has('success'))
    An e-mail with the password reset has been sent.
@endif

<div class="container" style="margin-top: 40px;">
	<div class="row">
		<div class="col-md-8 col-md-offset-2">
			<div class="panel panel-default">
				<div class="panel-heading"><h2 class="panel-title">Passwort zurücksetzen</h2></div>
				<div class="panel-body">
					
				{{ Form::open(array('url' => 'passwort-vergessen')) }}
					<div class="input-group form-group">
						<span class="input-group-addon"><span class="glyphicon glyphicon-envelope"></span></span>
						<input type="email" class="form-control " name="email" placeholder="Email">
					</div>
					@if(Session::has('login_errors'))
						<div class="alert alert-danger alert-dismissable">
							<button type="button" class="close" data-dismiss="alert">&times;</button>
							Login-Daten fehlerhaft!
						</div>
					@endif
					<div class="form-group">
						<button type="submit" class="btn btn-primary">Passwort zurücksetzen</button>
					</div>
				{{ Form::close() }}
				</div>
			</div>
		</div>
	</div>
</div>
@stop

@section('title')
Passwort zurücksetzen ~
@stop