Ignore:
Timestamp:
6 May 2011, 07:16:31 (14 years ago)
Author:
Henrik Bettermann
Message:

Use WAuPDisplayFormPage for ApplicantsContainerPage?.

Fix traceback if description field is empty.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser_templates/applicantscontainerpage.pt

    r5863 r6029  
    1 <div>
     1<h2>
    22  <span tal:content="context/title">Title</span>
    3 </div>
     3</h2>
     4
    45<div tal:content="structure view/descriptionToHTML">
    56  Description
    67</div>
     8
     9<table class="zebra">
     10  <tbody>
     11    <tal:block repeat="widget view/widgets">
     12      <tal:condition condition="python:widget.name not in ['form.description','form.title']">
     13      <tr>
     14        <td class="fieldname">
     15          <tal:block content="python:widget.label"/>:
     16        </td>
     17        <td class="field">
     18          <input tal:replace="structure widget" />
     19        </td>
     20      </tr>
     21      </tal:condition>
     22    </tal:block>
     23  </tbody>
     24</table>
Note: See TracChangeset for help on using the changeset viewer.