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

62 lines
2.0 KiB
PHP
Raw Normal View History

2019-07-11 23:55:51 +02:00
@extends('layout.app')
@section('center-area')
@parent
<form action="/register" method="post">
Użytkownik
{{ csrf_field() }}
<div class="form-group">
<label for="title">Imię</label>
<input type="text" class="form-control" id="userName" name="userName">
</div>
<div class="form-group">
<label for="title">Nazwisko</label>
<input type="text" class="form-control" id="userLastName" name="userLastName">
</div>
<div class="form-group">
<label for="title">Pesel</label>
<input type="text" class="form-control" id="userPesel" name="userPesel">
</div>
<div class="form-group">
<label for="title">Email</label>
<input type="text" class="form-control" id="userEmail" name="userEmail">
</div>
<div class="form-group">
<label for="title">Numer telefonu</label>
<input type="text" class="form-control" id="userPhone" name="userPhone">
</div>
<div class="form-group">
<label for="title">Login</label>
<input type="text" class="form-control" id="userLogin" name="userLogin">
</div>
<div class="form-group">
<label for="title">Hasło</label>
<input type="text" class="form-control" id="userPassword" name="userPassword">
</div>
<div class="form-group">
<label for="title">Powtórz Hasło</label>
<input type="text" class="form-control" id="userPassword2" name="userPassword2">
</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">Zarejestruj</button>
</form>
@stop