$newline never
$if not (null activeCategories)
  <div .recipient-categories>
    $forall category <- activeCategories
      <div .recipient-category>
        <input type=checkbox id=#{checkedIdent category} .recipient-category__checkbox :elem category checkedCategories:checked>
        <label .recipient-category__label for=#{checkedIdent category}>
          _{category}

        $if hasContent category
          <fieldset .recipient-category__fieldset uw-interactive-fieldset .interactive-fieldset__target data-conditional-input=#{checkedIdent category}>
            $if not (null (categoryIndices category))
              <div .recipient-category__checked-counter>
              <div .recipient-category__toggle-all>
                <input type=checkbox id=#{checkedIdent category}-toggle-all>
                <label for=#{checkedIdent category}-toggle-all .recipient-category__option-label>_{MsgRecipientToggleAll}
              <div .recipient-category__options>
                $forall optIx <- categoryIndices category
                  ^{cellWdgts ! optIx}

            $maybe addWdgt <- addWdgts !? (1, (EnumPosition category, 0))
              ^{addWdgt}
