<html xmlns:py="http://genshi.edgewall.org/"
  xmlns:xi="http://www.w3.org/2001/XInclude"
  py:strip="">
  
  <py:def function="page_title">${c.grouptitle or c.groupname} - Authorization - Groups</py:def>

  <div py:match="content">
    <h2>
      Authorization for group: ${c.grouptitle or c.groupname}
    </h2>

    <p py:if="c.message">${c.message}</p>

    <form id="group-authz" action="" method="post">
      <h3>Update Existing Roles</h3>
      <table>
      ${h.literal(c.form)}
      </table>

      <h3>Create New User Roles</h3>
      ${h.literal(c.new_roles_form)}
        
      <br/>

      ${h.submit('save', _('Save'))}
    </form>
  </div>

  <xi:include href="layout.html" />
</html>
