From cd97af37c5f30035363c748cd200b43cce3db20c Mon Sep 17 00:00:00 2001 From: Nafies Luthfi Date: Fri, 7 Sep 2018 09:36:39 +0800 Subject: [PATCH] Update form stubs fixing textareas attribute --- src/stubs/resources/views/full/create.stub | 2 +- src/stubs/resources/views/full/edit.stub | 2 +- src/stubs/resources/views/simple/forms.stub | 4 ++-- tests/Generators/Simple/ViewsGeneratorTest.php | 4 ++-- tests/Generators/ViewsGeneratorTest.php | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/stubs/resources/views/full/create.stub b/src/stubs/resources/views/full/create.stub index 27e585d..0018b7e 100644 --- a/src/stubs/resources/views/full/create.stub +++ b/src/stubs/resources/views/full/create.stub @@ -17,7 +17,7 @@
- + {!! $errors->first('description', ':message') !!}
diff --git a/src/stubs/resources/views/full/edit.stub b/src/stubs/resources/views/full/edit.stub index 4b96353..5e9c344 100644 --- a/src/stubs/resources/views/full/edit.stub +++ b/src/stubs/resources/views/full/edit.stub @@ -43,7 +43,7 @@
- + {!! $errors->first('description', ':message') !!}
diff --git a/src/stubs/resources/views/simple/forms.stub b/src/stubs/resources/views/simple/forms.stub index af0c991..74b622a 100644 --- a/src/stubs/resources/views/simple/forms.stub +++ b/src/stubs/resources/views/simple/forms.stub @@ -9,7 +9,7 @@
- + {!! $errors->first('description', ':message') !!}
@@ -28,7 +28,7 @@
- + {!! $errors->first('description', ':message') !!}
diff --git a/tests/Generators/Simple/ViewsGeneratorTest.php b/tests/Generators/Simple/ViewsGeneratorTest.php index 91322d7..c31f68b 100644 --- a/tests/Generators/Simple/ViewsGeneratorTest.php +++ b/tests/Generators/Simple/ViewsGeneratorTest.php @@ -97,7 +97,7 @@ class ViewsGeneratorTest extends TestCase
has('description') ? ' has-error' : '' }}\"> - + {!! \$errors->first('description', ':message') !!}
lang_name}.create') }}\" class=\"btn btn-success\"> @@ -116,7 +116,7 @@ class ViewsGeneratorTest extends TestCase
has('description') ? ' has-error' : '' }}\"> - + {!! \$errors->first('description', ':message') !!}
diff --git a/tests/Generators/ViewsGeneratorTest.php b/tests/Generators/ViewsGeneratorTest.php index 16ce31a..884b6e2 100644 --- a/tests/Generators/ViewsGeneratorTest.php +++ b/tests/Generators/ViewsGeneratorTest.php @@ -136,7 +136,7 @@ class ViewsGeneratorTest extends TestCase
has('description') ? ' has-error' : '' }}\"> - + {!! \$errors->first('description', ':message') !!}
@@ -205,7 +205,7 @@ class ViewsGeneratorTest extends TestCase
has('description') ? ' has-error' : '' }}\"> - + {!! \$errors->first('description', ':message') !!}