From d9f4eb214f4c74d62fa874c4f0c8ba0066fc066c Mon Sep 17 00:00:00 2001 From: Awilum Date: Wed, 5 Feb 2020 18:25:50 +0300 Subject: [PATCH] feat(admin-plugin): update validation for all forms #211 --- .../admin/templates/content/entries/add.html | 14 ++++++++------ .../admin/templates/extends/fieldsets/add.html | 8 ++++---- .../admin/templates/extends/fieldsets/rename.html | 8 ++++---- .../admin/templates/extends/snippets/add.html | 2 +- .../admin/templates/extends/snippets/rename.html | 2 +- .../templates/extends/themes/templates/add.html | 2 +- .../admin/templates/system/api/delivery/add.html | 2 +- 7 files changed, 20 insertions(+), 18 deletions(-) diff --git a/site/plugins/admin/templates/content/entries/add.html b/site/plugins/admin/templates/content/entries/add.html index 780bc83c..49af6f87 100644 --- a/site/plugins/admin/templates/content/entries/add.html +++ b/site/plugins/admin/templates/content/entries/add.html @@ -9,19 +9,21 @@
- - + + {{ tr('admin_help_text_for_entry_label') }}
+
- - + + {{ tr('admin_help_text_for_entry_name') }}
+
- + diff --git a/site/plugins/admin/templates/extends/fieldsets/add.html b/site/plugins/admin/templates/extends/fieldsets/add.html index 55ec9c28..cddf7275 100644 --- a/site/plugins/admin/templates/extends/fieldsets/add.html +++ b/site/plugins/admin/templates/extends/fieldsets/add.html @@ -7,19 +7,19 @@
- + {{ tr('admin_help_text_for_fieldsets_label') }}
- + {{ tr('admin_help_text_for_fieldsets_name') }}
- + {{ tr('admin_help_text_for_fieldsets_icon', {':link': 'fontawesome'})|raw }}
@@ -46,4 +46,4 @@
-{% endblock %} \ No newline at end of file +{% endblock %} diff --git a/site/plugins/admin/templates/extends/fieldsets/rename.html b/site/plugins/admin/templates/extends/fieldsets/rename.html index 59ad8ea6..ef766392 100644 --- a/site/plugins/admin/templates/extends/fieldsets/rename.html +++ b/site/plugins/admin/templates/extends/fieldsets/rename.html @@ -4,11 +4,11 @@
{{ csrf() }} -
-
+
+
- + {{ tr('admin_help_text_for_fieldsets_name') }}
@@ -17,4 +17,4 @@
-{% endblock %} +{% endblock %} \ No newline at end of file diff --git a/site/plugins/admin/templates/extends/snippets/add.html b/site/plugins/admin/templates/extends/snippets/add.html index ed9776c0..5de7f842 100644 --- a/site/plugins/admin/templates/extends/snippets/add.html +++ b/site/plugins/admin/templates/extends/snippets/add.html @@ -7,7 +7,7 @@
- + {{ tr('admin_help_text_for_snippets_name') }}
diff --git a/site/plugins/admin/templates/extends/snippets/rename.html b/site/plugins/admin/templates/extends/snippets/rename.html index fd7b60a8..1fd29fb5 100644 --- a/site/plugins/admin/templates/extends/snippets/rename.html +++ b/site/plugins/admin/templates/extends/snippets/rename.html @@ -8,7 +8,7 @@
- + {{ tr('admin_help_text_for_snippets_name') }}
diff --git a/site/plugins/admin/templates/extends/themes/templates/add.html b/site/plugins/admin/templates/extends/themes/templates/add.html index 1c959597..45c2e80e 100644 --- a/site/plugins/admin/templates/extends/themes/templates/add.html +++ b/site/plugins/admin/templates/extends/themes/templates/add.html @@ -8,7 +8,7 @@
- + {{ tr('admin_help_text_for_temlates_name') }}
diff --git a/site/plugins/admin/templates/system/api/delivery/add.html b/site/plugins/admin/templates/system/api/delivery/add.html index 79f7aacf..6393bb9e 100644 --- a/site/plugins/admin/templates/system/api/delivery/add.html +++ b/site/plugins/admin/templates/system/api/delivery/add.html @@ -44,4 +44,4 @@
-{% endblock %} \ No newline at end of file +{% endblock %}