/tag_implications: convert to simple form.

This commit is contained in:
evazion
2017-04-21 21:10:08 -05:00
parent 738c14a8a3
commit f403763d8b

View File

@@ -1,11 +1,9 @@
<div id="c-tag-implications">
<div id="a-index">
<div class="search">
<%= form_tag(tag_implications_path, :method => :get) do %>
<%= text_field :search, :name_matches, :value => params[:search][:name_matches] %>
<%= submit_tag "Search" %>
<% end %>
</div>
<%= simple_form_for(:search, method: :get, url: tag_implications_path, defaults: { required: false }) do |f| %>
<%= f.input :name_matches, label: "Name", input_html: { value: params[:search][:name_matches] } %>
<%= f.submit "Search" %>
<% end %>
<%= render "listing", :tag_implications => @tag_implications %>