Compare commits

..

No commits in common. "8864875699868f37954a7d693a511f82f5ef4581" and "d2f5427df183e981619c4f78f812d13e8f292474" have entirely different histories.

2 changed files with 4 additions and 36 deletions

View File

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

View File

@ -1,35 +0,0 @@
<?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' ?>