edit_forum.html 744 B

1234567891011121314151617181920212223
  1. {% set page_title = "Edit Forum" %}
  2. {% set active_forum_nav=True %}
  3. {% extends "admin/admin_layout.html" %}
  4. {% block admin_content %}
  5. {% from "macros.html" import horizontal_field %}
  6. <form class="form-horizontal" role="form" method="post">
  7. {{ form.hidden_tag() }}
  8. <legend class="">Edit Forum</legend>
  9. {{ horizontal_field(form.title) }}
  10. {{ horizontal_field(form.position) }}
  11. {{ horizontal_field(form.category) }}
  12. {{ horizontal_field(form.description, rows=5, div_class="col-lg-9") }}
  13. <div class="form-group">
  14. <div class="col-lg-offset-0 col-lg-9">
  15. <button type="submit" class="btn btn-success">Save</button>
  16. </div>
  17. </div>
  18. </form>
  19. {% endblock %}