<tal:defs define="dummy view/update" />
<html metal:use-macro="view/@@standard_macros/page" i18n:domain="schooltool">
<head>
  <title metal:fill-slot="title" i18n:translate="">Access Rights</title>
</head>
<body>
<metal:block metal:fill-slot="body">

  <h1 i18n:translate="">Access rights</h1>

  <tal:block repeat="item view/groups">
    <p>
    <a tal:attributes="href string:#group_${item/group/__name__}"
       tal:content="item/group/title" />
    </p>
  </tal:block>

  <br />
  <br />

  <tal:block repeat="item view/groups">
    <div class="info-block">

    <a tal:attributes="name string:group_${item/group/__name__}">
    <h1 tal:content="item/group/title" />
    </a>
    <p tal:content="item/group/description"
       tal:condition="item/group/description"/>
    <br />

    <tal:block repeat="action item/actions">
      <h3 tal:content="action/action/title" />
      <p tal:content="action/action/description"
         tal:condition="action/action/description" />

      <ul>
        <tal:block repeat="snippets action/crowds">
          <li tal:repeat="description snippets"
              tal:content="structure description"
              class="item" />
        </tal:block>
      </ul>


    </tal:block>
    <a href="#">Back to top</a>

    </div>
  <br />
  <br />

  </tal:block>

  <div class="info-block">

    <h2 i18n:translate="">Legend</h2>
    <br />

    <tal:block repeat="legend view/legends">
      <a tal:attributes="name legend/href">
        <h3>
          [<tal:block content="legend/idx" />]
          <tal:block content="legend/description" />
        </h3>
      </a>
      <ul>
        <li tal:repeat="description legend/snippets"
            tal:content="structure description"
            class="item" />
      </ul>
    </tal:block>
  </div>

</metal:block>
</body>
</html>
