Mercurial > public > sg101
view gpp/templates/forums/new_post.html @ 131:5b69d6e01fd4
Creating a common way to display the smiley and markdown help dialogs for a markItUp textarea input form. Converted gcalendar over to it as a trial.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Thu, 26 Nov 2009 22:47:17 +0000 |
parents | 2d299909e074 |
children | 593fb6dbd449 |
line wrap: on
line source
{% extends 'base.html' %} {% load forum_tags %} {% block title %}Forums: New Post{% endblock %} {% block custom_js %}{{ form.media }}{% endblock %} {% block content %} <h2>Forums: New Post</h2> <h3> <a href="{% url forums-index %}">SurfGuitar101 Forum Index</a> » <a href="{% url forums-forum_index slug=forum.slug %}">{{ forum.name }}</a> » <a href="{% url forums-topic_index id=topic.id %}">{{ topic.name }}</a> </h3> {% if can_post %} <div class="forum-block"> <a name="forum-reply-form"></a> {% show_form "New Post" form "Submit Post" 0 MEDIA_URL %} {% else %} {% if topic.locked %} <p>This topic is locked.</p> {% else %} <p>You don't have permission to post to this topic.</p> {% endif %} {% endif %} </div> {% endblock %}