From 0578d4ff20e1e5f1b1fb0301a68aeecdbabfde7d Mon Sep 17 00:00:00 2001 From: Nafies Luthfi Date: Wed, 29 Aug 2018 17:26:13 +0800 Subject: [PATCH] Set search field value to request value --- src/stubs/resources/views/full/index.stub | 2 +- tests/Generators/ViewsGeneratorTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/stubs/resources/views/full/index.stub b/src/stubs/resources/views/full/index.stub index 2cf3845..4449dc1 100644 --- a/src/stubs/resources/views/full/index.stub +++ b/src/stubs/resources/views/full/index.stub @@ -19,7 +19,7 @@
- +
Reset diff --git a/tests/Generators/ViewsGeneratorTest.php b/tests/Generators/ViewsGeneratorTest.php index 6f9ba6b..378e0b5 100644 --- a/tests/Generators/ViewsGeneratorTest.php +++ b/tests/Generators/ViewsGeneratorTest.php @@ -35,7 +35,7 @@ class ViewsGeneratorTest extends TestCase
- lang_name}.search_text') }}\" name=\"q\" type=\"text\" id=\"q\" class=\"form-control input-sm\"> + lang_name}.search_text') }}\" name=\"q\" type=\"text\" id=\"q\" class=\"form-control input-sm\" value=\"{{ request('q') }}\">
lang_name}.search') }}\" class=\"btn btn-sm\"> table_name}.index') }}\">Reset