Esempio n. 1
0
 public function search()
 {
     return HTML::div(Form::open('', 'GET') . Form::text('q', null, array('placeholder' => 'Search')) . Form::submit('<span class="icon-search icon-white"></span>', array('class' => 'btn btn-primary')) . Form::close(), array('id' => 'search'));
 }
Esempio n. 2
0
 public function search()
 {
     return Form::open(URI::current(), 'GET') . Form::text('q', null, array('class' => 'search')) . Form::close();
 }