app/views/headmin/forms/_search.html.erb in headmin-0.5.2 vs app/views/headmin/forms/_search.html.erb in headmin-0.5.3
- old
+ new
@@ -22,22 +22,22 @@
# https://apidock.com/rails/ActionView/Helpers/FormHelper/search_field
#
# ==== Examples
# Basic version
# <%= form_with do |form| %#>
- # <%= render 'headmin/forms/search', form: form, attribute: "basic_example" %#>
+ # <%= render "headmin/forms/search", form: form, attribute: "basic_example" %#>
# <% end %#>
search = Headmin::Form::SearchView.new(local_assigns)
%>
-<%= render 'headmin/forms/wrapper', search.wrapper_options do %>
- <%= render 'headmin/forms/label', search.label_options if search.prepend_label? %>
- <%= render 'headmin/forms/input_group', search.input_group_options do %>
+<%= render "headmin/forms/wrapper", search.wrapper_options do %>
+ <%= render "headmin/forms/label", search.label_options if search.prepend_label? %>
+ <%= render "headmin/forms/input_group", search.input_group_options do %>
<%= form.search_field(search.attribute, search.input_options) %>
- <%= render 'headmin/forms/datalist', search.datalist_options if search.datalist? %>
- <%= render 'headmin/forms/autocomplete', search.autocomplete_options if search.autocomplete? %>
+ <%= render "headmin/forms/datalist", search.datalist_options if search.datalist? %>
+ <%= render "headmin/forms/autocomplete", search.autocomplete_options if search.autocomplete? %>
<% end %>
- <%= render 'headmin/forms/validation', search.validation_options if search.validate? %>
- <%= render 'headmin/forms/hint', search.hint_options if search.hint? %>
- <%= render 'headmin/forms/label', search.label_options if search.append_label? %>
+ <%= render "headmin/forms/validation", search.validation_options if search.validate? %>
+ <%= render "headmin/forms/hint", search.hint_options if search.hint? %>
+ <%= render "headmin/forms/label", search.label_options if search.append_label? %>
<% end %>