Commit 66ea9597 authored by Evan Simpson's avatar Evan Simpson

Use Ken's wording for the upload paragraph, and look for the body in...

Use Ken's wording for the upload paragraph, and look for the body in REQUEST.other before REQUEST.form, so that errors will show up.
parent 2feef0d3
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
tal:replace="structure here/manage_tabs">Tabs</h2> tal:replace="structure here/manage_tabs">Tabs</h2>
<form action="" method="post" <form action="" method="post"
tal:define="body request/form/text | here/read" tal:define="body request/other/text | request/form/text | here/read"
tal:attributes="action request/URL1"> tal:attributes="action request/URL1">
<input type="hidden" name=":default_method" value="pt_changePrefs"> <input type="hidden" name=":default_method" value="pt_changePrefs">
<table width="100%" cellspacing="0" cellpadding="2" border="0"> <table width="100%" cellspacing="0" cellpadding="2" border="0">
...@@ -78,12 +78,11 @@ ...@@ -78,12 +78,11 @@
</form> </form>
<p class="form-help"> <p class="form-help">
You may upload the text for <span tal:replace="here/title_and_id" /> You can upload the text for <span tal:replace="here/title_and_id" />
using the form below. using the following form.
Choose an existing file from your local computer by clicking Choose an existing HTML or XML file from your local computer by clicking
<em>browse</em> The contents of the file should be HTML or XML. You <em>browse</em>. You can also <a href="document_src">click here</a>
may click the following link to <a href="document_src">view or to view or download the current text.
download</a> the current text.
</p> </p>
<form action="pt_upload" method="post" <form action="pt_upload" method="post"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment