From 26afec23794c251ff86b3ff51140c4bc992e1d89 Mon Sep 17 00:00:00 2001 From: maTh Date: Thu, 11 Nov 2021 19:57:05 +0100 Subject: Fix label management (#3959) * disable inputs * fix create empty tags * Update app/Controllers/tagController.php Co-authored-by: Alexandre Alapetite * Update app/views/tag/index.phtml Co-authored-by: Alexandre Alapetite * Small additional checks Co-authored-by: Alexandre Alapetite --- app/views/tag/index.phtml | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'app/views') diff --git a/app/views/tag/index.phtml b/app/views/tag/index.phtml index 55db61b67..eb6eefdb1 100644 --- a/app/views/tag/index.phtml +++ b/app/views/tag/index.phtml @@ -13,7 +13,7 @@
- +
@@ -25,12 +25,17 @@

+ tags) < 1) { + $disabled = ' disabled="disabled"'; + } ?>
- > tags as $tag): ?> @@ -40,13 +45,15 @@
- + />
+ +
@@ -57,7 +64,7 @@
- > tags as $tag): ?> @@ -67,7 +74,9 @@
+ +
-- cgit v1.2.3