[Zapp-cvs-commit] ZApp/zpt addRelationship_ChooseObjectManager_ui.zpt,NONE,1.1
Brought to you by:
sspickle
|
From: <ssp...@us...> - 2003-10-08 20:36:31
|
Update of /cvsroot/zapp/ZApp/zpt
In directory sc8-pr-cvs1:/tmp/cvs-serv21927/zpt
Added Files:
addRelationship_ChooseObjectManager_ui.zpt
Log Message:
add new relation ui
--- NEW FILE: addRelationship_ChooseObjectManager_ui.zpt ---
<h2 tal:content="string:${here/Manager} - ${here/id}" />
<form action="findNewRelationship_pt"
tal:attributes="action string:${request/URL1}/findNewRelationship_pt" method="post"
tal:define="managerIDs here/findSpecialistsForRelationship">
<table tal:condition="managerIDs">
<tr><td>Manager</td><td><select name="objectManager"><option value=""></option>
<span tal:repeat="managerID python:here.findSpecialistsForRelationship()" tal:omit-tag="">
<option tal:attributes="value managerID" tal:content="managerID"/>
</span></select></td></tr>
<tr><td colspan="3"><input type="submit" value="Select Related Object Type"></td></tr>
</table>
<table tal:condition="not:managerIDs">
<tr><td>Sorry.. this object can't relate to any other object type. You need to set up a 'related_object_types' attribute.</td></tr>
<tr><td><input type="submit" value="Back to object display." name="displayUpdateForm_html:method"></td></tr>
</table>
</form>
|