[Mpuls-commits] r3735 - wasko/trunk/waskoweb/templates/caselifetime
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Mon Sep 20 09:45:30 CEST 2010
Author: torsten
Date: 2010-09-20 09:45:29 +0200 (Mon, 20 Sep 2010)
New Revision: 3735
Modified:
wasko/trunk/waskoweb/templates/caselifetime/verlaengerung.mako
Log:
* waskoweb/templates/caselifetime/verlaengerung.mako: Changed style of
first extratime fields to 'readonly'. This way the old values are
submitted and are not lost if any errors occour.
Modified: wasko/trunk/waskoweb/templates/caselifetime/verlaengerung.mako
===================================================================
--- wasko/trunk/waskoweb/templates/caselifetime/verlaengerung.mako 2010-09-20 07:21:07 UTC (rev 3734)
+++ wasko/trunk/waskoweb/templates/caselifetime/verlaengerung.mako 2010-09-20 07:45:29 UTC (rev 3735)
@@ -9,7 +9,7 @@
Datum erste Verlängerung bis</td>
</label>
<td class="field">
- <input type="text" id="cm_datum_verlaengerung_1" name="cm_datum_verlaengerung_1" value="" ${c.num_verlaengerung >= 1 and 'disabled' or ''}>
+ <input type="text" id="cm_datum_verlaengerung_1" name="cm_datum_verlaengerung_1" value="" ${c.num_verlaengerung >= 1 and 'readonly' or ''}>
</td>
<td><form:error name="cm_datum_verlaengerung_1"/></td>
</tr>
@@ -20,7 +20,7 @@
</label>
</td>
<td class="field">
- <input type="checkbox" id="cm_bestaet_verlaengerung_1" name="cm_bestaet_verlaengerung_1" value="1" ${c.num_verlaengerung >= 1 and 'disabled' or ''}>
+ <input type="checkbox" id="cm_bestaet_verlaengerung_1" name="cm_bestaet_verlaengerung_1" value="1" ${c.num_verlaengerung >= 1 and 'readonly' or ''}>
</td>
<td><form:error name="cm_bestaet_verlaengerung_1"/></td>
</tr>
@@ -31,7 +31,7 @@
</label>
</td>
<td class="field">
- <textarea class="" name="cm_anmerk_verlaengerung_1" id="anmerkungen" rows="3" cols="80" onchange="setModification();" ${c.num_verlaengerung >= 1 and 'disabled' or ''}></textarea>
+ <textarea class="" name="cm_anmerk_verlaengerung_1" id="anmerkungen" rows="3" cols="80" onchange="setModification();" ${c.num_verlaengerung >= 1 and 'readonly' or ''}></textarea>
</td>
<td><form:error name="cm_anmerk_verlaengerung_1"/></td>
</tr>
More information about the Mpuls-commits
mailing list