[Mpuls-commits] r944 - in wasko/branches/2.0: . waskaweb/templates/documents

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Jan 27 12:35:56 CET 2010


Author: bh
Date: 2010-01-27 12:35:56 +0100 (Wed, 27 Jan 2010)
New Revision: 944

Modified:
   wasko/branches/2.0/ChangeLog
   wasko/branches/2.0/waskaweb/templates/documents/case_new.mako
Log:
* waskaweb/templates/documents/case_new.mako: Adapt to helpers API
changes.


Modified: wasko/branches/2.0/ChangeLog
===================================================================
--- wasko/branches/2.0/ChangeLog	2010-01-27 11:34:39 UTC (rev 943)
+++ wasko/branches/2.0/ChangeLog	2010-01-27 11:35:56 UTC (rev 944)
@@ -1,5 +1,10 @@
 2010-01-27  Bernhard Herzog  <bh at intevation.de>
 
+	* waskaweb/templates/documents/case_new.mako: Adapt to helpers API
+	changes.
+
+2010-01-27  Bernhard Herzog  <bh at intevation.de>
+
 	* waskaweb/lib/helpers.py: Adapt to changes in Python 0.9.7: Add
 	some more imports to get more of the old helpers API back.
 

Modified: wasko/branches/2.0/waskaweb/templates/documents/case_new.mako
===================================================================
--- wasko/branches/2.0/waskaweb/templates/documents/case_new.mako	2010-01-27 11:34:39 UTC (rev 943)
+++ wasko/branches/2.0/waskaweb/templates/documents/case_new.mako	2010-01-27 11:35:56 UTC (rev 944)
@@ -26,10 +26,10 @@
   <div class="import_box_dialog">
    ${h.form(h.url(controller="document", action='caseUploadAction'), multipart=True)}
    <label class="import_label" for="file"><strong class="import_number">1. </strong>${_('att_form_upload_label_add')}</label>
-   ${h.file_field('file')}<br>
+   ${h.file('file')}<br>
    <label class="import_label" for=""><strong class="import_number">2. </strong>${_('att_form_upload_label_up')}</label>
-   ${h.submit(_('doc_form_upload_submit'))}
-   ${h.hidden_field('case', value=session.get('case').id)}
+   ${h.submit("upload", _('doc_form_upload_submit'))}
+   ${h.hidden('case', value=session.get('case').id)}
    ${h.end_form()}
   </div>
  </div>



More information about the Mpuls-commits mailing list