Compare commits
2 Commits
d2f5427df1
...
8864875699
Author | SHA1 | Date |
---|---|---|
tracer | 8864875699 | |
tracer | fe0a3c212d |
|
@ -17,8 +17,5 @@
|
||||||
<?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>
|
||||||
|
|
|
@ -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' ?>
|
Loading…
Reference in New Issue