Ignore:
Timestamp:
12 Aug 2010, 13:18:42 (14 years ago)
Author:
Henrik Bettermann
Message:

Implement update method for ContactAdminForm?. The form is used by anonymous users via the 'Enquiries' navigation tab and by authenticated users via the 'Contact' user navigation link.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/branches/henrik-contactforms/src/waeup/sirp/browser/templates/contactadminform.pt

    r5414 r5426  
    1 <form id="form1" name="form1" method="post" action="mail2admin">
     1<form id="form1" name="form1" method="post">
    22<input type="hidden" name="regno" type="text" id="regno"
    33     tal:attributes="value layout/getUserId"/>
     
    88  </td>
    99  <td tal:condition="not:layout/isAuthenticated">
    10      <input name="fullname" type="text" id="fullname" />
     10     <input name="fullname" type="text" id="fullname" tal:attributes="value view/fullname|nothing" />
    1111  </td>
    12   <td tal:condition="layout/isAuthenticated" tal:content="layout/getUserTitle">
    13       User Name
     12  <td tal:condition="layout/isAuthenticated">
     13    <span tal:content="layout/getUserTitle" />
     14    <input type="hidden" name="fullname" type="text" id="fullname"
     15       tal:attributes="value layout/getUserTitle"/>
    1416  </td> 
    1517</tr>
     
    2729  </td>
    2830  <td>
    29      <textarea name="descr" rows="10" cols="60" id="descr"></textarea>
     31     <textarea name="descr" rows="10" cols="60" id="descr"><span tal:replace="view/descr|nothing" /></textarea>
     32     
    3033  </td>
    3134</tr>
Note: See TracChangeset for help on using the changeset viewer.