app/views/headmin/forms/_checkbox.html.erb in headmin-0.5.2 vs app/views/headmin/forms/_checkbox.html.erb in headmin-0.5.3
- old
+ new
@@ -18,17 +18,17 @@
# https://apidock.com/rails/ActionView/Helpers/FormHelper/check_box
#
# ==== Examples
# Basic version
# <%= form_with do |form| %#>
- # <%= render 'headmin/forms/checkbox', form: form, attribute: :active %#>
+ # <%= render "headmin/forms/checkbox", form: form, attribute: :active %#>
# <% end %#>
checkbox = Headmin::Form::CheckboxView.new(local_assigns)
%>
-<%= render 'headmin/forms/wrapper', checkbox.wrapper_options do %>
+<%= render "headmin/forms/wrapper", checkbox.wrapper_options do %>
<%= form.check_box(checkbox.attribute, checkbox.input_options, checkbox.checked_value, checkbox.unchecked_value) %>
- <%= render 'headmin/forms/label', checkbox.label_options if checkbox.label? %>
- <%= render 'headmin/forms/validation', checkbox.validation_options if checkbox.validate? %>
- <%= render 'headmin/forms/hint', checkbox.hint_options if checkbox.hint? %>
+ <%= render "headmin/forms/label", checkbox.label_options if checkbox.label? %>
+ <%= render "headmin/forms/validation", checkbox.validation_options if checkbox.validate? %>
+ <%= render "headmin/forms/hint", checkbox.hint_options if checkbox.hint? %>
<% end %>