Files
website-v2/templates/forum_conversation/topic_create.html
Greg Newman ccd7a0f9ed 🎨 styles and toggles for forum forms
* Styles the forms and inputs
* Adds toggles to show/hide form sections with navigation styles

Addresses issue: #54
2022-12-16 10:20:02 -05:00

45 lines
1.1 KiB
HTML

{% extends 'board_base.html' %}
{% load i18n %}
{% load forum_conversation_tags %}
{% block sub_title %}{% trans "Post a new topic" %}{% endblock sub_title %}
{% block content %}
<div class="row">
<div class="col-12">
<h1>{{ forum.name }}</h1>
</div>
</div>
{% if poll_preview %}
{% include "forum_conversation/forum_polls/poll_preview.html" %}
{% endif %}
{% if preview %}
{% include "forum_conversation/post_preview.html" %}
{% endif %}
<div class="w-full">
<div class="w-full bg-charcoal/60 border border-1 border-slate rounded">
<div class="card post-edit">
<div class="card-header border-b border-slate px-4 py-2">
<h3 class="m-0 h5 card-title text-base">{% trans "Post a new topic" %}</h3>
</div>
<div class="card-body p-4">
{% include "forum_conversation/partials/topic_form.html" %}
</div>
</div>
</div>
</div>
{% endblock content %}
{% block onbodyload %}
machina.poll.init();
machina.attachment.init();
{% endblock onbodyload %}
{% block extra_css %}
{{ post_form.media.css }}
{% endblock extra_css %}
{% block extra_js %}
{{ post_form.media.js }}
{% endblock extra_js %}