Moved search field into partial render view

This commit is contained in:
Christoph Haas 2014-12-30 16:53:18 +01:00
parent ad9bdc6dd2
commit 71538d9e8c
3 changed files with 4 additions and 4 deletions

View 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)