initial commit
This commit is contained in:
parent
fe0a3c212d
commit
8864875699
35
templates/addressbook/add_address.html.php
Normal file
35
templates/addressbook/add_address.html.php
Normal 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' ?>
|
Loading…
Reference in New Issue
Block a user