<div id="portlet-calendar-overlay" class="portlet"
     i18n:domain="schooltool" tal:condition="view/show_overlay">

  <h4 i18n:translate="">Calendars</h4>

  <form method="post" action="" tal:attributes="action request/URL"
        tal:define="dummy view/update">

    <table class="overlays">

      <tr style="background: #9db8d2">
        <td><input type="checkbox" checked="checked" disabled="disabled" /></td>
        <td style="width: 100%" i18n:translate="">My Calendar</td>
        <td></td>
      </tr>

      <tr tal:repeat="item view/items"
          tal:attributes="style string:background: ${item/color1}">
        <td><input type="checkbox" name="overlay:list"
            tal:attributes="value item/id; checked item/checked" /></td>
        <td style="width: 100%" tal:content="item/title">Title</td>
        <td><a class="go"
            tal:attributes="href item/calendar/@@absolute_url;
            style string:background: ${item/color2};;
            color: ${item/color2}"
            >&nbsp;</a></td>
    </tr>
    </table>

    <div class="controls">
      <input name="OVERLAY_APPLY" type="submit" value="Apply"
            i18n:attributes="value"/>
      <input name="OVERLAY_MORE" type="submit" value="More..."
            i18n:attributes="value"/>
    </div>
  </form>
</div>
