1
0
forked from s421507/eOSP2
eOSP2/resources/views/login.blade.php

40 lines
1.0 KiB
PHP
Raw Normal View History

2019-09-11 00:09:22 +02:00
@extends('layout.app')
@section('center-area')
@parent
@if (\Session::has('success'))
<div class="alert alert-success">
<ul>
<li>{!! \Session::get('success') !!}</li>
</ul>
</div>
@endif
@if( auth()->check())
Jesteś już zalogowany.
@else
<h2>Zaloguj się</h2>
2019-09-11 00:09:22 +02:00
<form method="POST" action="/login">
{{ csrf_field() }}
<div class="form-group">
2019-09-17 19:59:20 +02:00
<label for="email">Email:</label>
<input type="text" class="form-control" id="email" name="email">
2019-09-11 00:09:22 +02:00
</div>
<div class="form-group">
<label for="password">Hasło:</label>
2019-09-11 00:09:22 +02:00
<input type="password" class="form-control" id="password" name="password">
</div>
<div class="form-group">
<button style="cursor:pointer" type="submit" class="btn btn-primary">Login</button>
</div>
2019-09-17 19:59:20 +02:00
@include('inc.formerrors')
2019-09-11 00:09:22 +02:00
</form>
<a href="/forgottenPassword">Nie pamiętam hasła<a>
@endif
2019-09-11 00:09:22 +02:00
@endsection