form.html 686 B

1234567891011121314151617
  1. {% extends "admin/admin/form.html" %}
  2. {% import "forms.html" as form_theme with context %}
  3. {% block form %}
  4. <fieldset>
  5. <legend>{% trans %}Newsletter Options{% endtrans %}</legend>
  6. {{ form_theme.row(form.name, attrs={'class': 'span12'}) }}
  7. {{ form_theme.row(form.step_size, attrs={'class': 'span12'}) }}
  8. {{ form_theme.row(form.ranks, attrs={'class': 'span12'}) }}
  9. {{ form_theme.row(form.ignore_subscriptions) }}
  10. </fieldset>
  11. <fieldset>
  12. <legend>{% trans %}Message{% endtrans %}</legend>
  13. {{ form_theme.row(form.content_html, attrs={'class': 'span12', 'rows': 10}) }}
  14. {{ form_theme.row(form.content_plain, attrs={'class': 'span12', 'rows': 10}) }}
  15. </fieldset>
  16. {% endblock %}