form.html 678 B

12345678910111213141516
  1. {% extends "admin/admin/form.html" %}
  2. {% import "forms.html" as form_theme with context %}
  3. {% block form %}
  4. <fieldset>
  5. <legend>{% trans %}Basic Warning Level Options{% endtrans %}</legend>
  6. {{ form_theme.row(form.name, attrs={'class': 'span12'}) }}
  7. {{ form_theme.row(form.description, attrs={'class': 'span12', 'rows': 3}) }}
  8. {{ form_theme.row(form.expires_after_minutes, attrs={'class': 'span12'}) }}
  9. </fieldset>
  10. <fieldset>
  11. <legend>{% trans %}Restrictions{% endtrans %}</legend>
  12. {{ form_theme.row(form.restrict_posting_replies, attrs={'class': 'span12'}) }}
  13. {{ form_theme.row(form.restrict_posting_threads, attrs={'class': 'span12'}) }}
  14. </fieldset>
  15. {% endblock %}