Mark the Comments label when it fails validation.
This commit is contained in:
@@ -88,7 +88,7 @@ if (isset($file_src) || isset($img)) {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?php if ($is_admin) { ?>
|
<?php if ($is_admin) { ?>
|
||||||
<label<?php isset($validate['comments']) ? ' class="red"' : '' ?> for="comments">Comments:</label>
|
<label<?= isset($validate['comments']) ? ' class="red"' : '' ?> for="comments">Comments:</label>
|
||||||
<div class="rightcolumn">
|
<div class="rightcolumn">
|
||||||
<input type="text" name="comments" id="comments" maxlength="150" value="<?= isset($comments) ? form_value($comments) : '' ?>" />
|
<input type="text" name="comments" id="comments" maxlength="150" value="<?= isset($comments) ? form_value($comments) : '' ?>" />
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user