From 63099d773acdcb0139fde5d8537c5b1117d0aac2 Mon Sep 17 00:00:00 2001 From: Pavol Perdik Date: Thu, 2 Feb 2023 09:29:49 +0100 Subject: [PATCH] Fixing broken blade escapes --- phpunit.xml | 4 ---- resources/views/form.blade.php | 4 ++-- resources/views/templates/admin-user/form.blade.php | 4 ++-- resources/views/templates/user/form.blade.php | 4 ++-- 4 files changed, 6 insertions(+), 10 deletions(-) diff --git a/phpunit.xml b/phpunit.xml index 103ab94..0c9ed97 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -12,10 +12,6 @@ ./tests/Feature - - - ./tests/Unit - diff --git a/resources/views/form.blade.php b/resources/views/form.blade.php index 877ed9a..96e4099 100644 --- a/resources/views/form.blade.php +++ b/resources/views/form.blade.php @@ -93,7 +93,7 @@ @elseif($col['type'] == 'json')
- @@foreach($locales as $locale) + {{'@'}}foreach($locales as $locale)
@@ -106,7 +106,7 @@
- @@endforeach + {{'@'}}endforeach @elseif(!in_array($col['name'], ['published_at']))
diff --git a/resources/views/templates/admin-user/form.blade.php b/resources/views/templates/admin-user/form.blade.php index 8c9eade..0af47d4 100644 --- a/resources/views/templates/admin-user/form.blade.php +++ b/resources/views/templates/admin-user/form.blade.php @@ -82,7 +82,7 @@
@elseif($col['type'] == 'json')
- @@foreach($locales as $locale) + {{'@'}}foreach($locales as $locale)
@@ -96,7 +96,7 @@
- @@endforeach + {{'@'}}endforeach @else
diff --git a/resources/views/templates/user/form.blade.php b/resources/views/templates/user/form.blade.php index 8c9eade..0af47d4 100644 --- a/resources/views/templates/user/form.blade.php +++ b/resources/views/templates/user/form.blade.php @@ -82,7 +82,7 @@
@elseif($col['type'] == 'json')
- @@foreach($locales as $locale) + {{'@'}}foreach($locales as $locale)
@@ -96,7 +96,7 @@
- @@endforeach + {{'@'}}endforeach @else