<commit_before>@(field: play.api.data.Field, form: Form[AnyContent], args: (Symbol, Any)*)(implicit request: Request[AnyContent], lang: Lang, messages: play.api.i18n.Messages)

@import helper.base._
@import utils.helpers.CarersCrypto
@import views.html.helper.checkConstraintRequired

<li class="form-group @if(field.hasErrors) {validation-error}" id="@CarersCrypto.encryptAES(field.id)">
    @checkConstraintRequired(field, args:_*)

    <ul class="form-group form-group-compound">
        @carersListCheckbox(field, form, args.find(_._1 == 'items).get._2.asInstanceOf[Seq[(String,String)]], args.filter(e => e._1 != 'label && e._1 != 'items):_*)(utils.helpers.EmptyTemplate.apply(lang).fieldConstructor,lang,request,messages)
    </ul>
</li><commit_msg>CADS-1149 : Breaks In care Summary page errors. Place field error on ListCheckBox for Breaks CheckBox list and Income CheckBox list.<commit_after>@(field: play.api.data.Field, form: Form[AnyContent], args: (Symbol, Any)*)(implicit request: Request[AnyContent], lang: Lang, messages: play.api.i18n.Messages)

@import helper.base._
@import utils.helpers.CarersCrypto
@import views.html.helper.checkConstraintRequired

<li class="form-group" id="@CarersCrypto.encryptAES(field.id)">
    @fieldConstructor = @{utils.helpers.CarersTemplate.apply(lang).fieldConstructor}
            @helper.input(field, args: _*) { (id, name, value, htmlArgs) =>
            @checkConstraintRequired(field, args:_*)

            <ul class="form-group form-group-compound">
            @carersListCheckbox(field, form, args.find(_._1 == 'items).get._2.asInstanceOf[Seq[(String,String)]], args.filter(e => e._1 != 'label && e._1 != 'items):_*)(utils.helpers.EmptyTemplate.apply(lang).fieldConstructor,lang,request,messages)
            </ul>
    }(fieldConstructor,messages)
</li>
{'fraction_non_alphanumeric': 0.16289342904472667, 'fraction_numerical': 0.00883489784649365, 'mean_word_length': 5.248275862068965, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 14, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3399524', 'n_tokens_mistral': 582, 'n_tokens_neox': 571, 'n_words': 105}