$newline never

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

#{csrf}
<div .scrolltable>
  <table .table .table--striped .table--hover>
    <tr .table__row .table__row--head>
      <th>
        $# empty cell
      $forall function <- allFunctions
        <th .table__th>
          _{function}
    $forall school <- schools
      $with Entity sid School{schoolName} <- school
        <tr .table__row>
          <th .table__th>
            #{schoolName}
          $forall function <- allFunctions
            <td .table__td>
              $maybe (_, boxView) <- Map.lookup (function, sid) boxRights
                ^{fvWidget boxView}
