Show object ID when editing items

Shows the database object ID when editing on the Notes tab, to allow for use in the API.
Needs further work as we move things to dynamic modals for editing.
This commit is contained in:
wrongecho
2024-09-10 23:04:12 +01:00
parent 760f07e665
commit 586f0f1c57
4 changed files with 183 additions and 179 deletions

View File

@@ -182,16 +182,12 @@
</div>
</div>
<div class="form-group">
<textarea class="form-control" rows="5" name="notes" placeholder="Notes, eg Parking Info, Building Access etc"><?php echo $location_notes; ?></textarea>
</div>
</div>
<div class="tab-pane fade" id="pills-notes<?php echo $location_id; ?>">
<div class="form-group">
<textarea class="form-control" rows="12" name="notes" placeholder="Notes, eg Parking Info, Building Access etc"><?php echo $location_notes; ?></textarea>
<textarea class="form-control" rows="8" name="notes" placeholder="Notes, eg Parking Info, Building Access etc"><?php echo $location_notes; ?></textarea>
</div>
<div class="form-group">
@@ -215,6 +211,8 @@
</div>
</div>
<p class="text-muted text-right">Location ID: <?= $location_id ?></p>
</div>
</div>