Label Telefon / Mobile anpassen
This commit is contained in:
parent
9355bd3ada
commit
1137a794aa
2 changed files with 30 additions and 2 deletions
|
|
@ -26,11 +26,39 @@
|
|||
<div>
|
||||
<a href="/admin/antraege" class="btn btn-sm btn-outline-light">Zurück</a>
|
||||
<button type="button" class="btn btn-sm btn-outline-light" onclick="window.print();">Drucken</button>
|
||||
<?php if (empty($application->accepted_at)): ?>
|
||||
<form action="/admin/antraege/<?= e($application->id) ?>/accept"
|
||||
method="POST"
|
||||
style="display:inline;"
|
||||
onsubmit="return confirm('Diesen Antrag annehmen und den Benutzer zum Mitglied machen?');">
|
||||
<?= csrf_field() ?>
|
||||
<button type="submit" class="btn btn-sm btn-success">Annehmen</button>
|
||||
</form>
|
||||
<?php endif; ?>
|
||||
<form action="/admin/antraege/<?= e($application->id) ?>/delete"
|
||||
method="POST"
|
||||
style="display:inline;"
|
||||
onsubmit="return confirm('Diesen Antrag wirklich löschen? Die Unterschriften werden ebenfalls entfernt.');">
|
||||
<?= csrf_field() ?>
|
||||
<button type="submit" class="btn btn-sm btn-danger">Löschen</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card text-dark">
|
||||
<div class="card-body">
|
||||
<?php if (!empty($application->accepted_at)): ?>
|
||||
<div class="alert alert-success" role="alert">
|
||||
<strong>Angenommen</strong>
|
||||
am <?= e(date('d.m.Y H:i', strtotime($application->accepted_at))) ?>
|
||||
von <?= e($acceptedBy ? $acceptedBy->name : 'Unbekannt') ?>.
|
||||
</div>
|
||||
<?php else: ?>
|
||||
<div class="alert alert-warning" role="alert">
|
||||
Dieser Antrag wurde noch nicht angenommen.
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<h5 class="border-bottom border-danger pb-1 mb-3">Persönliche Angaben</h5>
|
||||
|
||||
<div class="table-responsive">
|
||||
|
|
@ -40,7 +68,7 @@
|
|||
<tr><th>Vorname</th><td><?= e($application->vorname) ?></td></tr>
|
||||
<tr><th>Straße, Nr.</th><td><?= e($application->strasse) ?></td></tr>
|
||||
<tr><th>PLZ, Ort</th><td><?= e($application->plz_ort) ?></td></tr>
|
||||
<tr><th>Telefon / Mobile / Fax</th><td><?= e($application->telefon) ?></td></tr>
|
||||
<tr><th>Telefon / Mobile</th><td><?= e($application->telefon) ?></td></tr>
|
||||
<tr><th>E-Mail</th><td><?= e($application->email) ?></td></tr>
|
||||
<tr><th>Geburtsdatum</th><td><?= e(german_date($application->geburtsdatum)) ?></td></tr>
|
||||
<tr><th>Motorrad</th><td><?= e($application->motorrad) ?></td></tr>
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@
|
|||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="telefon">Telefon / Mobile / Fax</label>
|
||||
<label for="telefon">Telefon / Mobile</label>
|
||||
<input id="telefon" name="telefon" class="form-control" value="<?= e(old('telefon') ?? $user?->mobile) ?>" autocomplete="tel">
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue