Skip to content

Commit

Permalink
Add search placeholder
Browse files Browse the repository at this point in the history
  • Loading branch information
mercyoseni committed Jul 29, 2019
1 parent a6fc4c7 commit bb37207
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/mushrooms/_search_form.html.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<%= form_for :search, url: root_path, method: 'GET' do |f| %>
<div class='input-field col s12 search'>
<%= f.text_field :query, value: search_query, required: true %>
<%= f.text_field :query, value: search_query, required: true, placeholder: '🍄 search 🍄' %>
<%= f.submit 'Search', class: 'btn right search-btn' %>
<%= link_to 'Reset', root_path, class: 'btn red search-btn ' %>
</div>
Expand Down

0 comments on commit bb37207

Please sign in to comment.