motorradig2027/motorradig/views/auth/register.php
2026-10-23 13:14:31 +02:00

87 lines
4.4 KiB
PHP

<div class="container">
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card">
<div class="card-header">Gastmitglied werden(registrieren)</div>
<div class="card-body">
<form method="POST" action="/register">
<?= csrf_field() ?>
<div class="form-group row">
<label for="name" class="col-md-4 col-form-label text-md-right">Name</label>
<div class="col-md-6">
<input id="name" type="text" class="form-control <?= error('name') ? 'is-invalid' : '' ?>" name="name" value="<?= e(old('name')) ?>" required autocomplete="name" autofocus>
<?php if (error('name')): ?>
<span class="invalid-feedback" role="alert">
<strong><?= e(error('name')) ?></strong>
</span>
<?php endif; ?>
</div>
</div>
<div class="form-group row">
<label for="email" class="col-md-4 col-form-label text-md-right">E-Mail Addresse</label>
<div class="col-md-6">
<input id="email" type="email" class="form-control <?= error('email') ? 'is-invalid' : '' ?>" name="email" value="<?= e(old('email')) ?>" required autocomplete="email">
<?php if (error('email')): ?>
<span class="invalid-feedback" role="alert">
<strong><?= e(error('email')) ?></strong>
</span>
<?php endif; ?>
</div>
</div>
<div class="form-group row">
<label for="mobile" class="col-md-4 col-form-label text-md-right">Telefonnummer</label>
<div class="col-md-6">
<input id="mobile" type="text" class="form-control <?= error('mobile') ? 'is-invalid' : '' ?>" name="mobile" value="<?= e(old('mobile')) ?>" required autocomplete="mobile">
<?php if (error('mobile')): ?>
<span class="invalid-feedback" role="alert">
<strong><?= e(error('mobile')) ?></strong>
</span>
<?php endif; ?>
</div>
</div>
<div class="form-group row">
<label for="password" class="col-md-4 col-form-label text-md-right">Passwort</label>
<div class="col-md-6">
<input id="password" type="password" class="form-control <?= error('password') ? 'is-invalid' : '' ?>" name="password" required autocomplete="new-password">
<?php if (error('password')): ?>
<span class="invalid-feedback" role="alert">
<strong><?= e(error('password')) ?></strong>
</span>
<?php endif; ?>
</div>
</div>
<div class="form-group row">
<label for="password-confirm" class="col-md-4 col-form-label text-md-right">Passwort-Bestätigung</label>
<div class="col-md-6">
<input id="password-confirm" type="password" class="form-control" name="password_confirmation" required autocomplete="new-password">
</div>
</div>
<div class="form-group row mb-0">
<div class="col-md-6 offset-md-4">
<button type="submit" class="btn btn-primary">
Registrieren
</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>