[Mpuls-commits] r5266 - waska/branches/waska3/waskaweb/templates/casemanagement

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Aug 30 09:09:06 CEST 2011


Author: torsten
Date: 2011-08-30 09:09:06 +0200 (Tue, 30 Aug 2011)
New Revision: 5266

Modified:
   waska/branches/waska3/waskaweb/templates/casemanagement/new.mako
Log:
Anpassung des Templates zum Neuanlegen von Fallakten.


Modified: waska/branches/waska3/waskaweb/templates/casemanagement/new.mako
===================================================================
--- waska/branches/waska3/waskaweb/templates/casemanagement/new.mako	2011-08-30 07:04:37 UTC (rev 5265)
+++ waska/branches/waska3/waskaweb/templates/casemanagement/new.mako	2011-08-30 07:09:06 UTC (rev 5266)
@@ -20,8 +20,9 @@
           </td>
           <td>
             <input class="field" type="text" size="50" maxlength="60"
-                   name="name_1" id="name" value="${c.case.last_name or ""}">
+                   name="nachname" id="name" value="">
           </td>
+          <td class=""><span class="error"><form:error name="nachname"></span></td>
         </tr>
         <tr>
           <td class="label">
@@ -29,40 +30,90 @@
           </td>
           <td>
             <input class="field" type="text" size="50" maxlength="60"
-                   name="vorname_1" id="vorname"
-                   value="${c.case.first_name or ""}">
+                   name="vorname" id="vorname"
+                   value="">
           </td>
+          <td class=""><span class="error"><form:error name="vorname"></span></td>
         </tr>
         <tr>
           <td class="label">
-            <label for="adresse_strasse">${_('Street')}:</label>
+            <label for="geschlecht">${_('Gender')}:</label>
           </td>
           <td>
-            <input class="field" type="text" size="50" maxlength="60" 
-                   name="strasse" id="adresse_strasse" 
-                   value="${c.case.street or ""}">
+            <select name="geschlecht" id="geschlecht">
+              <option value="-1">keine Angabe</option>
+              <option value="1">männlich</option>
+              <option value="0">weiblich</option>
+            </select>
           </td>
+          <td class=""><span class="error"><form:error name="geschlecht"></span></td>
         </tr>
         <tr>
           <td class="label">
-            <label for="adresse_plz">${_('PLZ')}:</label>
+            <label for="geburtsdatum">${_('Birthdate')}:</label>
           </td>
           <td>
             <input class="field" type="text" size="50" maxlength="60"
-                   name="plz" id="adresse_plz" 
-                   value="${c.case.plz or ""}">
+                   name="geburtsdatum" id="geburtsdatum"
+                   value="">
           </td>
+          <td class=""><span class="error"><form:error name="geburtsdatum"></span></td>
         </tr>
         <tr>
           <td class="label">
-            <label for="adresse_ort">${_('Place')}:</label>
+            <label for="datum_ea_start">${_('First meeting')}:</label>
           </td>
           <td>
+            <input class="field" type="text" size="50" maxlength="60"
+                   name="datum_ea_start" id="datum_ea_start"
+                   value="">
+          </td>
+          <td class=""><span class="error"><form:error name="datum_ea_start"></span></td>
+        </tr>
+        <tr>
+          <td class="label">
+            <label for="anschrift_strasse">${_('Street')}:</label>
+          </td>
+          <td>
             <input class="field" type="text" size="50" maxlength="60" 
-                   name="wohnort" id="adresse_ort" 
-                   value="${c.case.city or ""}">
+                   name="anschrift_strasse" id="anschrift_strasse" 
+                   value="">
           </td>
+          <td class=""><span class="error"><form:error name="anschrift_strasse"></span></td>
         </tr>
+        <tr>
+          <td class="label">
+            <label for="anschrift_hausnummer">${_('Street number')}:</label>
+          </td>
+          <td>
+            <input class="field" type="text" size="50" maxlength="60" 
+                   name="anschrift_hausnummer" id="anschrift_hausnummer" 
+                   value="">
+          </td>
+          <td class=""><span class="error"><form:error name="anschrift_hausnummer"></span></td>
+        </tr>
+        <tr>
+          <td class="label">
+            <label for="anschrift_plz">${_('PLZ')}:</label>
+          </td>
+          <td>
+            <input class="field" type="text" size="50" maxlength="60" 
+                   name="anschrift_plz" id="anschrift_plz" 
+                   value="">
+          </td>
+          <td class=""><span class="error"><form:error name="anschrift_plz"></span></td>
+        </tr>
+        <tr>
+          <td class="label">
+            <label for="anschrift_ort">${_('Place')}:</label>
+          </td>
+          <td>
+            <input class="field" type="text" size="50" maxlength="60" 
+                   name="anschrift_ort" id="anschrift_ort" 
+                   value="">
+          </td>
+          <td class=""><span class="error"><form:error name="anschrift_ort"></span></td>
+        </tr>
       </table>
     </fieldset>
     <div style="padding: 1em 0;">



More information about the Mpuls-commits mailing list