module Lato::ComponentsHelper
def lato_form_item_input_check(form, key, label, options = {})
def lato_form_item_input_check(form, key, label, options = {}) _lato_form_input_options(form, key, options, :change, 'form-check-input') # TO-DO: Trovare il modo di calcolare l'id dato da rails a check_input_tag e metterlo nell'attributo :for di check_label_tag content_tag :div, class: 'form-check' do concat form.check_box(key, options) concat label_tag(key, raw(label), class: 'form-check-label') end end