]> wagnertech.de Git - mfinanz.git/blobdiff - templates/webpages/ct/_contact.html
Refactoring: Parameterredesign SL::Controller::Base::render und SL::Presenter::render
[mfinanz.git] / templates / webpages / ct / _contact.html
index bfa4f3772327ad107aef25cb3f1c3e3e52b09700..d1db2e228f83706fc4f199b6d332e2046ab7c47a 100644 (file)
       </td>
      </tr>
 
+     <tr>
+      <th align="left" nowrap>[% 'Function/position' | $T8 %]</th>
+      <td>[% L.input_tag('cp_position', cp_position, size=40, maxlength=75) %]</td>
+     </tr>
+
      <tr>
       <th align="left" nowrap>[% 'Given Name' | $T8 %]</th>
       <td><input id="cp_givenname" name="cp_givenname" size="40" maxlength="75" value="[% HTML.escape(cp_givenname) %]"></td>
 
      <tr>
       <th align="left" nowrap>[% 'Birthday' | $T8 %]</th>
-      <td><input id="cp_birthday" name="cp_birthday" size="40" value="[% HTML.escape(cp_birthday) %]"></td>
+      <td>
+        [% L.date_tag('cp_birthday', cp_birthday) %]
+      </td>
      </tr>
 
      <tr>
 
     </table>
 
-[% IF cp_id %]
-    <input type="submit" id="delete_contact" name="action" value="[% 'Delete Contact' | $T8 %]">
-[% END %]
+    [% IF cp_id %]
+      <input type="button" id="delete_contact" onclick="submitInputButton(this);" name="action" value="[% 'Delete Contact' | $T8 %]">
+    [% END %]
 
     <br style="clear: left" />