33 lines
927 B
PHP
33 lines
927 B
PHP
@extends('layouts.app')
|
|
|
|
@section('title', "Sklep")
|
|
|
|
@section('main')
|
|
@if(Session::has('success'))
|
|
<div class="alert alert-success">
|
|
{{ Session::get('success') }}
|
|
</div>
|
|
@endif
|
|
<div>
|
|
<form method="post">
|
|
<input type="email" name="email">
|
|
<input type="password" name="password">
|
|
<input type="submit">
|
|
@csrf
|
|
</form>
|
|
</div>
|
|
<div>
|
|
<form method="post" action="{{ url("register") }}">
|
|
<!-- TODO validation in js !-->
|
|
<input type="email" name="email" placeholder="email">
|
|
<input type="text" name="name" placeholder="Imie">
|
|
<input type="password" name="password" placeholder="Hasło">
|
|
<input type="password" name="repeat-password" placeholder="Powtórz hasło">
|
|
<input type="submit">
|
|
@csrf
|
|
</form>
|
|
</div>
|
|
</body>
|
|
</html>
|
|
@endsection()
|