Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <%= form_tag('/search', local: true, method: :get, class: 'form-inline' ) do %>
- <%= text_field_tag(:q, nil, data: { behavior: 'autocomplete' }, placeholder: 'Search', class: 'form-control mr-sm-2') %>
- <%= button_tag('Search', class: 'btn btn-outline-success my-2 my-sm-0', type: 'submit') %>
- <% end %>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement