Browse Source
Merge pull request #165 from kimpenhaus/master
added autofocus to search input #149
pull/172/head
KodeStar
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
app/Setting.php
|
|
@ -206,7 +206,7 @@ class Setting extends Model |
|
|
|
$output .= '<div class="searchform">'; |
|
|
|
$output .= Form::open(['url' => $url, 'method' => 'get']); |
|
|
|
$output .= '<div class="input-container">'; |
|
|
|
$output .= Form::text($var, null, ['class' => 'homesearch', 'placeholder' => __($name).' '.__('app.settings.search').'...']); |
|
|
|
$output .= Form::text($var, null, ['class' => 'homesearch', autofocus => 'autofocus', 'placeholder' => __($name).' '.__('app.settings.search').'...']); |
|
|
|
$output .= '<button type="submit">'.ucwords(__('app.settings.search')).'</button>'; |
|
|
|
$output .= '</div>'; |
|
|
|
$output .= Form::close(); |
|
|
|