Ignore:
Timestamp:
20 Apr 2020, 07:11:26 (5 years ago)
Author:
Henrik Bettermann
Message:

Don't render colon after fieldname if fieldname is a question.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/widgets.pt

    r8922 r16060  
    99    <td class="fieldname">
    1010      <span tal:condition="widget/required">*</span>
    11       <span tal:content="widget/label">LABEL</span>:
     11      <span tal:content="widget/label">LABEL
     12      </span><tal:colon condition="python:widget.label[-1]!='?'">:</tal:colon>
    1213    </td>
    1314    <td>
Note: See TracChangeset for help on using the changeset viewer.