Moved search field into partial render view
This commit is contained in:
parent
ad9bdc6dd2
commit
71538d9e8c
3 changed files with 4 additions and 4 deletions
2
app/views/packages/_searchfield.slim
Normal file
2
app/views/packages/_searchfield.slim
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
= form_tag url_for, :method=>'GET'
|
||||
= text_field_tag(:search, params[:search], placeholder: "Search...", maxlength: 50, size: 20, autofocus: true)
|
||||
Loading…
Add table
Add a link
Reference in a new issue