summaryrefslogtreecommitdiff
path: root/src/templates/form_fields.php
diff options
context:
space:
mode:
authorDavid T. Sadler <davidtsadler@googlemail.com>2021-11-03 22:14:26 +0000
committerDavid T. Sadler <davidtsadler@googlemail.com>2021-11-03 22:14:26 +0000
commit745664a1bf36cce13f3439698275b0b147efde3b (patch)
treebbd4d48943e8bf63a91d610f6c0c1afcdf707fc5 /src/templates/form_fields.php
parent5add8d18e6f984e0e3296a7e092a6a1ef061668f (diff)
Improve HTML and CSS
Diffstat (limited to 'src/templates/form_fields.php')
-rw-r--r--src/templates/form_fields.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/templates/form_fields.php b/src/templates/form_fields.php
index 3f54040..3005ee8 100644
--- a/src/templates/form_fields.php
+++ b/src/templates/form_fields.php
@@ -1,12 +1,12 @@
-<input type="text" name="url" maxlength="512" value="<?php echo htmlspecialchars($old->get('url', $bookmark->url)); ?>" autofocus><br>
+<label>URL<input type="text" name="url" maxlength="512" value="<?php echo htmlspecialchars($old->get('url', $bookmark->url)); ?>" autofocus></label>
<?php if ($errors->has('url')) { ?>
<p><?php echo implode(', ', $errors->get('url')); ?></p>
<?php } ?>
-<input type="text" name="title" maxlength="256" value="<?php echo htmlspecialchars($old->get('title', $bookmark->title)); ?>"><br>
+<label>Title<input type="text" name="title" maxlength="256" value="<?php echo htmlspecialchars($old->get('title', $bookmark->title)); ?>"></label>
<?php if ($errors->has('title')) { ?>
<p><?php echo implode(', ', $errors->get('title')); ?></p>
<?php } ?>
-<input type="text" name="tag" maxlength="8" value="<?php echo htmlspecialchars($old->get('tag', $bookmark->tag)); ?>"><br>
+<label>Tag<input type="text" name="tag" maxlength="8" value="<?php echo htmlspecialchars($old->get('tag', $bookmark->tag)); ?>"></label>
<?php if ($errors->has('tag')) { ?>
<p><?php echo implode(', ', $errors->get('tag')); ?></p>
<?php } ?>