Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merged changes from trunk revision 26803
- Loading branch information
Dmitry Vasiliev
committed
Jul 28, 2004
1 parent
285d866
commit 4b83823
Showing
1 changed file
with
51 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
<html metal:use-macro="views/standard_macros/addingdialog"> | ||
<body> | ||
<div metal:fill-slot="body"> | ||
|
||
<form method="post" action="action.html"> | ||
<table class="TypeListing" cellpadding="3"> | ||
|
||
<caption tal:content="view/title | default">Add Content</caption> | ||
|
||
<tbody tal:define="infos view/addingInfo"> | ||
|
||
<tr tal:repeat="info infos"> | ||
|
||
<td class="Selector"> | ||
<input type="radio" name="type_name" | ||
tal:attributes="value info/action; | ||
id info/action; | ||
checked python:len(infos)==1" /> | ||
</td> | ||
|
||
<td class="TypeName"> | ||
<label style="font-weight: bold;" | ||
tal:attributes="for info/action"> | ||
<span tal:replace="info/title" >Folder</span> | ||
</label> | ||
<div class="TypeDescription" tal:content="info/description"> | ||
Folders are generic containers for content, including other | ||
folders. | ||
</div> | ||
</td> | ||
</tr> | ||
|
||
<tr> | ||
<td><br /></td> | ||
<td><input type="text" name="id" | ||
tal:condition="view/namesAccepted" | ||
tal:attributes="value request/id | nothing" /> | ||
<input type="submit" name="add" value=" Add " | ||
i18n:attributes="value add-button" /> | ||
</td> | ||
</tr> | ||
|
||
</tbody> | ||
|
||
</table> | ||
|
||
</form> | ||
|
||
</div> | ||
</body> | ||
</html> |