{% extends 'slunic/base.html' %} {% load i18n slunic_tags webpack_loader %} {% block head_title %}{{ model_name|capfirst }} {{ object }} {% endblock head_title %} {% block header %}{% endblock header %} {% block content %}
{% render_content_type view.model_name object detail=True %}
{% if object.comment_enabled %}

{{ object.comment_count }} {% trans "responses" %}

{% render_comments object %}
{% include 'slunic/forms/comment.html' %}
{% endif %}
{% endblock content %} {% block sidebar_right_content %} {% widget_featured_join %} {% if object.real_model == 'question' %} {% widget_submit_question %} {% elif object.real_model == 'tutorial' %} {% widget_submit_tutorial %} {% endif %} {% if view.model_name == "tutorial" or view.model_name == "question" %} {% widget_related_posts obj=object limit=3 %} {% endif %} {% endblock %} {% block main_js %} {{ block.super }} {% render_bundle 'index' 'js' %} {% endblock main_js %}