version 1.20, 2005/12/13 12:45:22
|
version 1.24, 2011/09/16 10:26:27
|
Line 24
|
Line 24
|
<input type="radio" name="location" value="top" checked>top<input type="radio" name="location" value="bottom">bottom |
<input type="radio" name="location" value="top" checked>top<input type="radio" name="location" value="bottom">bottom |
</tal:block> |
</tal:block> |
</td></tr> |
</td></tr> |
|
<tr><td><i>Collection can be browsed and is searchable:</i></td> |
|
<td><select name="isVisible:boolean"> |
|
<option tal:condition="python:here.getAttributeIsVisible()" value="True" selected>True</option> |
|
<option tal:condition="not:python:here.getAttributeIsVisible()" value="True">True</option> |
|
<option tal:condition="not:python:here.getAttributeIsVisible()" value="False" selected>False</option> |
|
<option tal:condition="python:here.getAttributeIsVisible()" value="False">False</option> |
|
</select> |
|
</td> |
|
</tr> |
</table> |
</table> |
|
|
<h3> Partners:</h3> |
<h3> Partners:</h3> |
Line 32
|
Line 41
|
|
|
<div tal:condition="python:item.getId() in here.getCredits()"> |
<div tal:condition="python:item.getId() in here.getCredits()"> |
|
|
<input type="checkbox" name="credits" tal:attributes="value item/id" checked/><tal:block tal:content="item/title"/> |
<input type="checkbox" name="credits" tal:attributes="value item/id" checked/> |
|
<tal:block tal:content="python:here.decode(item.title)"/> |
</div> |
</div> |
<div tal:condition="not:python:item.getId() in here.getCredits()"> |
<div tal:condition="not:python:item.getId() in here.getCredits()"> |
<input type="checkbox" name="credits" tal:attributes="value item/id"/><tal:block tal:content="item/title"/> |
<input type="checkbox" name="credits" tal:attributes="value item/id"/> |
|
<tal:block tal:content="python:here.decode(item.title)"/> |
</div> |
</div> |
|
|
</div> |
</div> |