%label.c-input.c-checkbox
  = check_box_tag "#{@resource.model.model_name.param_key}[#{attribute.name}]"
  %span.c-indicator
  = @resource.model.human_attribute_name(attribute.name)

%label.c-input.c-checkbox
  = hidden_field_tag "#{@resource.model.model_name.param_key}[#{attribute.name}]", 0
  = check_box_tag "#{@resource.model.model_name.param_key}[#{attribute.name}]", 1,
    entry.send(attribute.key)
  %span.c-indicator
  = @resource.model.human_attribute_name(attribute.name)

Add hidden field for boolean form partial with default value
Add hidden field for boolean form partial with default value
