EduploneExam/skins/EduploneExam exam_fillgap.pt,NONE,1.1
"Fabian K." <[email protected]> Sat, 02 Apr 2005 14:02:19 +0000
| Newsgroups | gmane.comp.web.zope.eduplone.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/eduplone/EduploneExam/skins/EduploneExam
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7668/skins/EduploneExam
Added Files:
exam_fillgap.pt
Log Message:
First try of fillgap page template
--- NEW FILE: exam_fillgap.pt ---
<div metal:define-macro="view"
tal:omit-tag="">
<div>
<div metal:use-macro="here/exam_questionHeader/macros/questionHeader" />
</div>
<tal:def tal:define="renderedBasetext python: []">
<tal:repeat repeat="word python: currentQuestion.getBasetextAsList()">
<tal:condition tal:condition="python: word.startswith('<id=\'') and word.endswith('\'>')">
<tal python="python: renderedBasetext.append('<input type=\'text\' name=\'%s\' />' % word[5:-2])" />
<span tal:content="python: str(renderedBasetext)" />
</tal:condition>
<tal:condition tal:condition="python: not word.startswith('<id=\'') and not word.endswith('\'>')">
<tal python="python: renderedBasetext.append(word)" />
</tal:condition>
</tal:repeat>
<span tal:content="python: str(renderedBasetext)" />
</tal:def>
</div>
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click