66 lines
2.2 KiB
XML
66 lines
2.2 KiB
XML
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
|
||
xmlns:tal="http://xml.zope.org/namespaces/tal"
|
||
xmlns:metal="http://xml.zope.org/namespaces/metal"
|
||
xmlns:i18n="http://xml.zope.org/namespaces/i18n"
|
||
lang="en"
|
||
metal:use-macro="context/main_template/macros/master"
|
||
i18n:domain="tabellio.contest">
|
||
<body>
|
||
|
||
<metal:main fill-slot="main">
|
||
<tal:main-macro metal:define-macro="main"
|
||
tal:define="toLocalizedTime nocall:context/@@plone/toLocalizedTime">
|
||
|
||
<div tal:replace="structure provider:plone.abovecontenttitle" />
|
||
|
||
<h1 class="documentFirstHeading" tal:content="context/title" />
|
||
|
||
<div tal:replace="structure provider:plone.belowcontenttitle" />
|
||
|
||
<p tal:content="context/intro">
|
||
Lorem ipsum.
|
||
</p>
|
||
|
||
<div tal:replace="structure provider:plone.abovecontentbody" />
|
||
|
||
<form tal:condition="context/active" action="@@play" method="post">
|
||
<p tal:content="context/question1">
|
||
</p>
|
||
|
||
<span tal:repeat="answer view/question1answerslist">
|
||
<label><input type="radio" name="answer1" tal:attributes="value answer"/>
|
||
<span tal:replace="answer"></span></label>
|
||
</span>
|
||
|
||
<p tal:content="context/question2">
|
||
</p>
|
||
|
||
<span tal:repeat="answer view/question2answerslist">
|
||
<label><input type="radio" name="answer2" tal:attributes="value answer"/>
|
||
<span tal:replace="answer"></span></label>
|
||
</span>
|
||
|
||
<p><label>Nom : <input name="name"/></label></p>
|
||
<p><label>Adresse : <input name="address"/></label></p>
|
||
<p><label>Code postal : <input name="zipcode"/></label></p>
|
||
<p><label>Localité : <input name="locality"/></label></p>
|
||
<p><label>Tél./GSM : <input name="phone"/></label></p>
|
||
<p><label>Courriel : <input name="email"/></label></p>
|
||
|
||
<input type="submit" name="submit" value="Envoyer"/>
|
||
|
||
</form>
|
||
|
||
|
||
<div tal:condition="not:context/active">
|
||
Ce concours est fermé.
|
||
</div>
|
||
|
||
<div tal:replace="structure provider:plone.belowcontentbody" />
|
||
|
||
</tal:main-macro>
|
||
</metal:main>
|
||
|
||
</body>
|
||
</html>
|