blob: 505cf2650339662db3138a83d1df4e6c6f0e1017 (
plain)
1
2
3
4
5
6
7
8
|
<label>Task<input type="text" name="task" maxlength="256" value="<?= htmlspecialchars($old->get('task', $todo->task)); ?>"></label>
<?php if ($errors->has('task')) { ?>
<p><?= htmlentities(implode(', ', $errors->get('task'))); ?></p>
<?php } ?>
<label>Tag<input type="text" name="tag" maxlength="16" value="<?= htmlspecialchars($old->get('tag', $todo->tag)); ?>"></label>
<?php if ($errors->has('tag')) { ?>
<p><?= htmlentities(implode(', ', $errors->get('tag'))); ?></p>
<?php } ?>
|