Compare commits
No commits in common. "78f25fdfd37806a8b5cfdb0df971586f26789a2c" and "32133a0d05bba793efe0e44bbcecbc0628a742ce" have entirely different histories.
78f25fdfd3
...
32133a0d05
|
@ -25,10 +25,10 @@
|
|||
<td><input type="text" id="city_<?= $id ?>" value="<?= $address->getCity(); ?>" disabled></td>
|
||||
<td><input type="text" id="phone_<?= $id ?>" value="<?= $address->getPhone(); ?>" disabled></td>
|
||||
<td>
|
||||
<input type="button" value="Edit" id="edit_button_<?= $id ?>" onclick="editAddress('<?= $id ?>')">
|
||||
<input type="button" value="Edit" id="edit_button_<?= $id ?>" onclick="editAddress(<?= $id ?>)">
|
||||
</td>
|
||||
<td>
|
||||
<input type="button" value="Delete" onclick="deleteAddress('<?= $id ?>')">
|
||||
<input type="button" value="Delete" onclick="deleteAddress(<?= $id ?>)">
|
||||
<input type="hidden" id="owner_<?= $id ?>" value="<?= $id ?>">
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -44,10 +44,11 @@
|
|||
</table>
|
||||
</form>
|
||||
|
||||
<?php $addAddress = $router->path('address_add'); ?>
|
||||
<input type="button" value="Add Address" onclick="addAddress('<?= $addAddress ?>')">
|
||||
<!-- TODO why is the route not found? $addPath = $router->path('/address/add'); -->
|
||||
<input type="button" value="Add Address" onclick="addAddress('address/add')">
|
||||
<?php else: ?>
|
||||
Your addresses will be listed soon …
|
||||
Your addresses wil be listed soon …
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
<?php include '_footer.html.php' ?>
|
||||
|
|
Loading…
Reference in New Issue