[Mpuls-commits] r962 - wasko/branches/2.0/waskaweb/templates/documents

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Jan 28 09:31:29 CET 2010


Author: torsten
Date: 2010-01-28 09:31:29 +0100 (Thu, 28 Jan 2010)
New Revision: 962

Modified:
   wasko/branches/2.0/waskaweb/templates/documents/case_new.mako
Log:
* waskaweb/templates/documents/case_new.mako: Call h.url_for instead of h.url


Modified: wasko/branches/2.0/waskaweb/templates/documents/case_new.mako
===================================================================
--- wasko/branches/2.0/waskaweb/templates/documents/case_new.mako	2010-01-28 08:30:11 UTC (rev 961)
+++ wasko/branches/2.0/waskaweb/templates/documents/case_new.mako	2010-01-28 08:31:29 UTC (rev 962)
@@ -24,7 +24,7 @@
  <div id="waska_form" class="import_box">
   <p class="import_p">Die Größe einer Anlage darf nicht 10MB überschreiten. Bereits bestehende Dateien mit gleichem Namen werden überschrieben!</p>
   <div class="import_box_dialog">
-   ${h.form(h.url(controller="document", action='caseUploadAction'), multipart=True)}
+   ${h.form(h.url_for(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('file')}<br>
    <label class="import_label" for=""><strong class="import_number">2. </strong>${_('att_form_upload_label_up')}</label>



More information about the Mpuls-commits mailing list