<div xmlns="http://www.w3.org/1999/xhtml"
     xmlns:py="http://genshi.edgewall.org/"
     class="$container_cls"
     py:attrs="{'data-name':name}">
  <div><p
          class="$msg_cls"
          data-empty-message="$empty_msg"
          data-nonempty-message="$nonempty_msg"
          /></div>
  ${widget.button.display()}
  <br style="clear:both"/>
  <div class="$flist_cls">
    <py:for each="i in xrange(repetitions)"
            py:with="ctx=widget.context_for(i)">
      ${widget.field.display(css_class=field_cls, **ctx)}
    </py:for>
    ${widget.field.display(name=name+'#', css_class=stub_cls)}
  </div>
</div>
