eOSP2/resources/views/inc/loginXX.blade.php

30 lines
893 B
PHP
Raw Normal View History

2019-07-11 23:55:51 +02:00
<form action="/login" method="post">
Użytkownik
{{ csrf_field() }}
<div class="form-group">
<label for="title">Login</label>
2019-09-11 00:09:22 +02:00
<input type="text" class="form-control" id="login" name="login">
2019-07-11 23:55:51 +02:00
</div>
<div class="form-group">
<label for="title">Hasło</label>
2019-09-11 00:09:22 +02:00
<input type="text" class="form-control" id="password" name="password">
2019-07-11 23:55:51 +02:00
</div>
<div class="form-group">
<label for="title">Powtórz Hasło</label>
2019-09-11 00:09:22 +02:00
<input type="text" class="form-control" id="password2" name="password2">
2019-07-11 23:55:51 +02:00
</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>
2019-09-11 00:09:22 +02:00
</form>