diff options
| author | ianb <devnull@localhost> | 2005-07-06 09:08:10 +0000 |
|---|---|---|
| committer | ianb <devnull@localhost> | 2005-07-06 09:08:10 +0000 |
| commit | 87f4f3dfd4f99c0150abcbdf27b88eb59c1e88e0 (patch) | |
| tree | 38f7aa80426622b3317463fbf453c639b17ac102 /examples/filebrowser/templates/edit_html.pt | |
| parent | 46217776dca22bfaa3c6ef083743fa36db99db35 (diff) | |
| download | paste-87f4f3dfd4f99c0150abcbdf27b88eb59c1e88e0.tar.gz | |
Seperated out file types into more classes, with more delegation to the class; added templates for particular views
Diffstat (limited to 'examples/filebrowser/templates/edit_html.pt')
| -rw-r--r-- | examples/filebrowser/templates/edit_html.pt | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/examples/filebrowser/templates/edit_html.pt b/examples/filebrowser/templates/edit_html.pt new file mode 100644 index 0000000..10abb71 --- /dev/null +++ b/examples/filebrowser/templates/edit_html.pt @@ -0,0 +1,27 @@ +<html metal:use-macro="here/standard_template.pt/macros/page"> + +<metal:head fill-slot="extra_head"> +<span tal:replace="structure servlet/setup_xinha"/> +<script type="text/javascript"> +xinha_editors = ['txt-content']; + +</script> +</metal:head> + +<metal:body fill-slot="body"> + +<form tal:attributes="action options/action" method="POST"> +<input type="hidden" name="action" value="save"> +Edit:<br> +<textarea name="content" id="txt-content" cols=60 style="width: 100%" + tal:attributes="rows options/ta_height" + tal:content="options/content"></textarea> +<br> +<input type="submit" value="Save"> +<button tal:attributes="onclick + servlet/pathurl/action=view/js_set_location">Cancel</button> + +</form> + +</metal:body> +</html>
\ No newline at end of file |
