File:  [Repository] / basket / zpt / changeBasket.zpt
Revision 1.2: download - view: text, annotated - select for diffs - revision graph
Wed Aug 15 15:49:03 2007 UTC (16 years, 9 months ago) by casties
Branches: MAIN
CVS tags: HEAD
simplified some methods and added getters for unicode in basket.py
changed templates to use unicode getters

<h1 tal:replace="structure here/manage_page_header">Header</h1>
<div class="form-title">
  Change Baskets main info
</div>
<!--<p class="form-help">

</p>-->
<form action="changeBasket" method="post">
<table>
<tr>
	<td>
		<div class="form-optional">Title</div>
	</td>
	<td>
		<input type="text" name="title" size="40" tal:attributes="value here/getTitle">
	</td>
</tr>
<tr>
	<td>
		<div class="form-label">username</div>
	</td>
	<td>
		<input type="text" name="username" size="40" tal:attributes="value here/getOwner">
	</td>
</tr>
<tr>
	<td>
		<div class="form-label">publicationStatus</div>
	</td>
	<td>
		<input type="text" name="publicationStatus" size="40" tal:attributes="value here/publicationStatus">
	</td>
</tr>
<tr>
	<td>
		<div class="form-optional">Short description</div>
	</td>
	<td>
		<textarea name="shortDescription" cols="40" rows="10" tal:content="python:getattr(here,'shortDescription','')"></textarea>
	</td>
<tr>
	<td>
		<div class="form-optional">Comment</div>
	</td>
	<td>
		<textarea name="comment" cols="40" rows="10" tal:content="here/getComment"></textarea>
	</td>
</tr>

</table>
<input type="submit" value="change">
</form>
<h1 tal:replace="structure here/manage_page_footer">Footer</h1>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>