<metal:page define-macro="master">

<metal:block use-macro="here/global_defines/macros/defines" />

<html xmlns="http://www.w3.org/1999/xhtml"
      xml:lang="en"
      lang="en"
      tal:define="input_id request/input_id;"
      tal:attributes="lang default_language | default;
                      xml:lang default_language | default"
      i18n:domain="plone">

  <head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"
          tal:define="charset site_properties/default_charset|string:utf-8;
                      dummy python:request.RESPONSE.setHeader('Content-Type', 'text/html;;charset=%s' % charset)"
          tal:attributes="content string:text/html;;charset=${charset}" />

    <title i18n:translate="label_calendar">Calendar</title>

    <script type="text/javascript" language="javascript"
            tal:content="python:here.getPopupScript(input_id=input_id)"></script>

    <metal:css metal:use-macro="here/renderAllTheStylesheets/macros/cssrenderer">
        <!-- Fetch stylesheets from the CSS Registry -->
    </metal:css>

    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"
          tal:define="charset site_properties/default_charset|string:utf-8"
          tal:attributes="content string:text/html;;charset=${charset}" />

  </head>
  <body style="margin: 1em 2em 0em 2em;">

    <div style="text-align: center;"
         i18n:translate="help_choose_a_date">
      Choose a date
    </div>

    <div metal:use-macro="here/calendar_macros/macros/calendarDatePickerBoxPopup">
      Show calendar
    </div>

  </body>
</html>
</metal:page>
