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="city_<?= $id ?>" value="<?= $address->getCity(); ?>" disabled></td>
|
||||||
<td><input type="text" id="phone_<?= $id ?>" value="<?= $address->getPhone(); ?>" disabled></td>
|
<td><input type="text" id="phone_<?= $id ?>" value="<?= $address->getPhone(); ?>" disabled></td>
|
||||||
<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>
|
||||||
<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 ?>">
|
<input type="hidden" id="owner_<?= $id ?>" value="<?= $id ?>">
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -44,10 +44,11 @@
|
||||||
</table>
|
</table>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<?php $addAddress = $router->path('address_add'); ?>
|
<!-- TODO why is the route not found? $addPath = $router->path('/address/add'); -->
|
||||||
<input type="button" value="Add Address" onclick="addAddress('<?= $addAddress ?>')">
|
<input type="button" value="Add Address" onclick="addAddress('address/add')">
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
Your addresses will be listed soon …
|
Your addresses wil be listed soon …
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
|
|
||||||
<?php include '_footer.html.php' ?>
|
<?php include '_footer.html.php' ?>
|
||||||
|
|
Loading…
Reference in New Issue