.form-check = hidden_field_tag "post[#{attribute}]", '0' = check_box_tag "post[#{attribute}]", '1', metadata.value, class: "form-check-input #{invalid(post, attribute)}", aria: { describedby: id_for_help(attribute) }, autofocus: autofocus = label_tag "post_#{attribute}", post_label_t(attribute, post: post), class: 'form-check-label' = render 'posts/attribute_feedback', post: post, attribute: attribute, metadata: metadata