eOSP2/resources/views/inc/loginXX.blade.php
2019-09-11 00:09:22 +02:00

30 lines
893 B
PHP

<form action="/login" method="post">
Użytkownik
{{ csrf_field() }}
<div class="form-group">
<label for="title">Login</label>
<input type="text" class="form-control" id="login" name="login">
</div>
<div class="form-group">
<label for="title">Hasło</label>
<input type="text" class="form-control" id="password" name="password">
</div>
<div class="form-group">
<label for="title">Powtórz Hasło</label>
<input type="text" class="form-control" id="password2" name="password2">
</div>
@if ($errors->any())
<div class="alert alert-danger">
<ul>
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
@endforeach
</ul>
</div>
@endif
<button type="submit" class="btn btn-primary">Zaloguj</button>
</form>