$newline never

$# SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>
$#
$# SPDX-License-Identifier: AGPL-3.0-or-later

^{pWidget}
$if not (null sWidgets)
  <input .pagenav-item__expand-radio name=pagenav-item__expand-radio id=pageaction-item__expand-#{navIdent} type=radio uw-no-radiobox>
  <label .pagenav-item__expand-label for=pageaction-item__expand-#{navIdent}>
    <i .fas .fa-fw .fa-#{iconText IconPageActionPrimaryExpand}>
  <div .pagenav-item__children-wrapper>
    <ul .pagenav-item__children>
      $forall sWgt <- sWidgets
        <li>
          ^{sWgt}
    <label .pagenav-item__close-label for=pageaction-item__expand-none>
      #{iconPageActionChildrenClose}
