121 lines
4.5 KiB
PHP
121 lines
4.5 KiB
PHP
|
@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>--}}
|
||
|
|
||
|
{{-- <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>--}}
|
||
|
|
||
|
<h2>Register</h2>
|
||
|
<form method="POST" action="/register">
|
||
|
{{ csrf_field() }}
|
||
|
<div class="form-group">
|
||
|
<label for="name">Imię:</label>
|
||
|
<input type="text" class="form-control" id="name" name="name" value="{{ old('name') }} ">
|
||
|
</div>
|
||
|
|
||
|
<div class="form-group">
|
||
|
<label for="name">Nazwisko:</label>
|
||
|
<input type="text" class="form-control" id="surname" name="surname" value="{{ old('surname') }}">
|
||
|
</div>
|
||
|
|
||
|
<div class="form-group">
|
||
|
<label for="name">Login:</label>
|
||
|
<input type="text" class="form-control" id="login" name="login" value="{{ old('login') }}">
|
||
|
</div>
|
||
|
|
||
|
<div class="form-group">
|
||
|
<label for="name">Pesel:</label>
|
||
|
<input type="text" class="form-control" id="PESEL" name="PESEL" value="{{ old('PESEL') }}">
|
||
|
</div>
|
||
|
|
||
|
<div class="form-group">
|
||
|
<label for="name">Numer telefonu:</label>
|
||
|
<input type="text" class="form-control" id="phoneNumber" name="phoneNumber" value="{{ old('phoneNumber') }}">
|
||
|
</div>
|
||
|
|
||
|
<div class="form-group">
|
||
|
<label for="email">Adres e-mail:</label>
|
||
|
<input type="email" class="form-control" id="email" name="email" value="{{ old('email') }}">
|
||
|
</div>
|
||
|
|
||
|
<div class="form-group">
|
||
|
<label for="password">Hasło:</label>
|
||
|
<input type="password" class="form-control" id="password" name="password">
|
||
|
</div>
|
||
|
|
||
|
<div class="form-group">
|
||
|
<label for="password_confirmation">Powtórz hasło:</label>
|
||
|
<input type="password" class="form-control" id="password_confirmation" name="password_confirmation">
|
||
|
</div>
|
||
|
|
||
|
@if ($errors->any())
|
||
|
<div class="alert alert-danger">
|
||
|
<ul>
|
||
|
@foreach ($errors->all() as $error)
|
||
|
<li>{{ $error }}</li>
|
||
|
@endforeach
|
||
|
</ul>
|
||
|
</div>
|
||
|
@endif
|
||
|
|
||
|
<div class="form-group">
|
||
|
<button style="cursor:pointer" type="submit" class="btn btn-primary">Submit</button>
|
||
|
</div>
|
||
|
{{-- @include('partials.formerrors')--}}
|
||
|
</form>
|
||
|
|
||
|
@stop
|