summaryrefslogtreecommitdiff
path: root/modules/gallery/views/in_place_edit.html.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2010-02-02 13:08:27 -0800
committerBharat Mediratta <bharat@menalto.com>2010-02-02 13:08:27 -0800
commitaa65bb0048411cbc657651899fb63f7afe2aa37a (patch)
treedf40ae3eb58cd0056587f98c6ebb7403e4b5aee3 /modules/gallery/views/in_place_edit.html.php
parent4116c7bed1152cb34cc6298c04e0e1115eed4344 (diff)
parent3c3671cff25f28e21a702b1f665a6baa282d045f (diff)
Merge branch 'master' of git@github.com:gallery/gallery3
Diffstat (limited to 'modules/gallery/views/in_place_edit.html.php')
-rw-r--r--modules/gallery/views/in_place_edit.html.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/gallery/views/in_place_edit.html.php b/modules/gallery/views/in_place_edit.html.php
index 05a16ad4..2d6cbe90 100644
--- a/modules/gallery/views/in_place_edit.html.php
+++ b/modules/gallery/views/in_place_edit.html.php
@@ -9,7 +9,13 @@
<?= form::submit(array("class" => "submit ui-state-default"), t("Save")) ?>
</li>
<li><a href="#" class="g-cancel"><?= t("Cancel") ?></a></li>
+ <? if (!empty($errors["input"])): ?>
+ <li>
+ <p id="g-in-place-edit-message" class="g-error"><?= $errors["input"] ?></p>
+ </li>
+ <? endif ?>
</ul>
</form>
+