Last active
November 2, 2017 16:44
-
-
Save domagude/4a3169bfedf45d7b989bd00ab93a93d6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="col-sm-12"> | |
<%= form_tag(send("#{branch}_posts_path"), | |
:method => "get", | |
id: "search-form") do %> | |
<i class="fa fa-search" aria-hidden="true"></i> | |
<%= text_field_tag :search, | |
params[:search], | |
placeholder: search_placeholder, | |
class: "form-control" %> | |
<%= render category_field_partial_path %> | |
<% end %> | |
</div><!-- col-sm-12 --> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment