Compare commits

...

2 Commits

Author SHA1 Message Date
tracer 8864875699 initial commit 2022-10-25 16:09:17 +02:00
tracer fe0a3c212d removed welcome until fixed 2022-10-25 16:09:17 +02:00
2 changed files with 36 additions and 4 deletions

View File

@ -17,8 +17,5 @@
<?php else: ?>
<a href="<?= $router->path('app_logout'); ?>">🚪Logout</a>
<?php endif; ?>
<?php if (!empty($user->getNick())): ?>
<br>
<-- TODO fix for anonymous Welcome back, <?= $user->getNick(); ?> -->
<?php endif; ?>
<br>

View File

@ -0,0 +1,35 @@
<?php include dirname(path: __DIR__) . '/_header.html.php'; ?>
<form method="POST">
<input type="hidden" name="owner" id="owner" value="<?= $user->getId() ?>">
<label for="first">First</label>
<input type="text" name="first" id="first" required>
<br>
<label for="last">Last</label>
<input type="text" name="last" id="last" required>
<br>
<label for="city">City</label>
<input type="text" name="city" id="city">
<br>
<label for="zip">Zip</label>
<input type="text" name="zip" id="zip">
<br>
<label for="street">Street</label>
<input type="text" name="street" id="street">
<br>
<label for="phone">Phone</label>
<input type="text" name="phone" id="phone">
<br>
<!-- maybe later -->
<!-- <input type="hidden" name="_csrf" value="csrf_token" -->
<input type="submit" value="Save">
</form>
<?php include dirname(path: __DIR__) . '/_footer.html.php' ?>