{% set page_title = "New Post" %}
{% set active_forum_nav=True %}

{% extends theme("layout.html") %}
{% block content %}
{% from theme("macros.html") import render_field %}

<ul class="breadcrumb">
    <li><a href="{{ url_for('forum.index') }}">Forum</a></li>
    <li><a href="{{ topic.forum.url }}">{{ topic.forum.title }}</a></li>
    <li><a href="{{ topic.url }}">{{ topic.title }} </a></li>
    <li class="active">New Post</li>
</ul>

<form class="form" role="form" method="post">
    {{ form.hidden_tag() }}
    <h3>New Post</h3>

    {{ render_field(form.content, div_class="col-sm-12", rows=12) }}

    <button type="submit" class="btn btn-success">Reply!</button>
</form>

{% endblock %}
