Commits

xiaq committed af5b4ea Merge

Automated merge with http://hg.moinmo.in/moin/2.0

  • Participants
  • Parent commits d4f76b8, 86c2c69

Comments (0)

Files changed (1)

File MoinMoin/templates/forms.html

 {% endmacro %}
 
 {% macro annotated_input(field, type=none) %}
+  {% set type = type or field.properties.widget %}
   <dt>
-    {{ gen.label(field) }}
+    {% if type == 'checkbox' %}
+      {{ _checkbox_label(field) }}
+    {% else %}
+      {{ gen.label(field) }}
+    {% endif %}
   </dt>
   <dd>
     {{ raw_input(field, type) }}