{% extends "forum/base.html" %}
{% load i18n %}

{% block styles %}
{{ block.super }}
<link rel="stylesheet" type="text/css"
        href='{{ STATIC_URL }}js/markitup/skins/simple/style.css' media="screen, projection" />
<link rel="stylesheet" type="text/css"
        href='{{ STATIC_URL }}js/markitup/sets/bbcode/style.css' media="screen, projection" />
{% endblock %}

{% block scripts %}
{{ block.super }}
<script type="text/javascript" src="{{ STATIC_URL }}js/markitup/jquery.markitup.js"></script>
<script type="text/javascript" src="{{ STATIC_URL }}js/markitup/sets/bbcode/set.js"></script>

<script type="text/javascript" >
    $(document).ready(function() {
        $("textarea").markItUp(mySettings);
    });
</script>
{% endblock %}

{% block forum_content %}
{% include "forum/parent_tree.html" %}

<strong>{% trans "Reply to" %} <a href="{{ thread.get_absolute_url }}">{{ thread }}</a></strong>
<form method="post">{% csrf_token %}
    {% include "forum/form.html" with no_label=1 %}
    <input type="submit" name="send" value='{% trans "Send" %}' />
    <input type="submit" name="preview" value='{% trans "Preview" %}' />
</form>
{% endblock %}
