36 lines
1.3 KiB
PHP
36 lines
1.3 KiB
PHP
@extends('layouts.site')
|
|
|
|
@section('title', 'Registrieren')
|
|
|
|
@section('content')
|
|
<h1>Registrieren</h1>
|
|
<p class="lede">Die Plattform ist für Erwachsene, die Präventionsangebote durchführen. Kinder brauchen kein Konto.</p>
|
|
@if ($errors->any())
|
|
<div class="errors" role="alert">
|
|
@foreach ($errors->all() as $error)
|
|
<p>{{ $error }}</p>
|
|
@endforeach
|
|
</div>
|
|
@endif
|
|
<form class="form" method="post" action="{{ route('register') }}">
|
|
@csrf
|
|
<label>Name
|
|
<input name="name" value="{{ old('name') }}" required autocomplete="name">
|
|
</label>
|
|
<label>E-Mail
|
|
<input name="email" type="email" value="{{ old('email') }}" required autocomplete="email">
|
|
</label>
|
|
<label>Passwort
|
|
<input name="password" type="password" required autocomplete="new-password">
|
|
</label>
|
|
<label>Passwort wiederholen
|
|
<input name="password_confirmation" type="password" required autocomplete="new-password">
|
|
</label>
|
|
<label class="check">
|
|
<input type="checkbox" name="adult" value="1" @checked(old('adult'))>
|
|
<span>Ich bin volljährig und lege das Konto für mich selbst an.</span>
|
|
</label>
|
|
<button type="submit">Konto anlegen</button>
|
|
</form>
|
|
@endsection
|