{% extends "layout_plan.html" %} {% block title %}Идея «{{ idea.title }}»{% endblock %} {% load filters %} {% block styles %} {% endblock %} {% block content %}

{{ idea.title }}

Предложил {{ idea.editor }}

{% with idea=idea AUTHOR_TYPE_CHOICES=AUTHOR_TYPE_CHOICES %} {% include 'magplan/ideas/_authors_list.html' %} {% endwith %}

{{ idea.description_html|safe }}
{% if idea.approved is None %} {% include 'magplan/ideas/_vote.html' %} {% else %}
{% if idea.approved == True %}

По результатам голосования идея статьи одобрена! 👍 😊 🚀

{% include 'magplan/ideas/_voting_results.html' %}

{% if idea.post %}
Есть статья!
К этой идее создана статья: посмотреть
{% else %}
Сделать из идеи статью
{% csrf_token %} {% include 'magplan/posts/_form_base.html' %}
{% endif %}
{% else %}

По результатам голосования идея статьи отклонена ❌ 😵 ⛈

Сделать из нее статью на данный момент нельзя.

{% include 'magplan/ideas/_voting_results.html' %}
{% endif %} {% endif %}
{# Support for generic comments template #} {% with comments=idea.comments_ form=comment_form action_url=idea|url_for_idea_comments %} {% include 'magplan/partials/comments.html' %} {% endwith %} {% endblock %} {% block scripts %} {% endblock %}