<tal:block
  xmlns:i18n="http://xml.zope.org/namespaces/i18n"
  i18n:domain="silva_mailing"
  tal:define="mailing_folder context/get_mailing_folder"
  >
<div tal:condition="request/address | nothing"
  tal:define="result mailing_folder/subscribe_to_mailing"
  tal:content="python:result[1]"
  tal:attributes="class python:result[0]"
  i18n:translate="">
  feedback
</div>
<div class="subscriptionform"
  tal:condition="not:request/address | nothing"
  tal:define="form context/subscription_form">
<h3 class="heading"><span i18n:translate="">Manage subscriptions to:</span> <tal:block content="context/get_title_or_id" /></h3>
<form method="post"
  tal:attributes="action mailing_folder/absolute_url">
  <tal:rep repeat="field form/get_fields">
    <div class="form-field">
      <label tal:attributes="for field/id">
        <tal:plug replace="field/title" />:
      </label>
      <input tal:replace="structure python:field.render(REQUEST=request)" />
    </div>
  </tal:rep>
  <input type="submit" value="submit" i18n:attributes="value" />
</form>
</div>
</tal:block>