diff --git a/src/stubs/view-index.stub b/src/stubs/view-index.stub
index 853c249..517450f 100644
--- a/src/stubs/view-index.stub
+++ b/src/stubs/view-index.stub
@@ -3,11 +3,23 @@
@section('title', trans('master.list'))
@section('content')
-{{ link_to_route('masters.index', trans('master.create'), ['action' => 'create'], ['class' => 'btn btn-success pull-right']) }}
-
+
+ {{ link_to_route('masters.index', trans('master.create'), ['action' => 'create'], ['class' => 'btn btn-success']) }}
+
+
+
+ {{ Form::open(['method' => 'get','class' => 'form-inline']) }}
+ {!! FormField::text('q', ['value' => request('q'), 'label' => trans('master.search'), 'class' => 'input-sm']) !!}
+ {{ Form::submit(trans('master.search'), ['class' => 'btn btn-sm']) }}
+ {{ link_to_route('masters.index', trans('app.reset')) }}
+ {{ Form::close() }}
+
diff --git a/tests/Generators/ViewsGeneratorTest.php b/tests/Generators/ViewsGeneratorTest.php
index da7a214..315cb5c 100644
--- a/tests/Generators/ViewsGeneratorTest.php
+++ b/tests/Generators/ViewsGeneratorTest.php
@@ -18,11 +18,23 @@ class ViewsGeneratorTest extends TestCase
@section('title', trans('item.list'))
@section('content')
-{{ link_to_route('items.index', trans('item.create'), ['action' => 'create'], ['class' => 'btn btn-success pull-right']) }}
-
+
+ {{ link_to_route('items.index', trans('item.create'), ['action' => 'create'], ['class' => 'btn btn-success']) }}
+
+
+
+ {{ Form::open(['method' => 'get','class' => 'form-inline']) }}
+ {!! FormField::text('q', ['value' => request('q'), 'label' => trans('item.search'), 'class' => 'input-sm']) !!}
+ {{ Form::submit(trans('item.search'), ['class' => 'btn btn-sm']) }}
+ {{ link_to_route('items.index', trans('app.reset')) }}
+ {{ Form::close() }}
+