<configure
    package="zope.formlib"
    xmlns="http://namespaces.zope.org/zope"
    i18n_domain="zope">

  <adapter
      factory=".form.render_submit_button"
      name="render"
      />

  <!-- Error view for 'Invalid' -->
  <adapter
      for="zope.interface.Invalid
           zope.publisher.interfaces.browser.IBrowserRequest"
      factory=".errors.InvalidErrorView"
      permission="zope.Public"
      />

</configure>
