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

{% block actions %}
    <a class="btn btn-success" href="{{ object.get_create_proposition_url }}"><i class="fa fa-plus"></i> {% trans 'Add Proposition' %}</a>
    <a class="btn btn-default" href="{{ object.session.get_brainstormer_list_url }}">{% trans 'Back to brainstormer list' %}</a>
{% endblock %}

{% block subtitle %}
    {% blocktrans trimmed with title=object %}
        QuestionWall Propositions List of "{{ title }}"
    {% endblocktrans %}
    <small>"{{ object.training_session.training }}" - {{ object.training_session.date|date:"j F Y" }}</small>
{% endblock subtitle %}

{% block main %}
    <div class="row-fluid">
        <div class="col-md-6">
            <div class="panel panel-default">
                <ul class="list-group">
                    {% with propositions=object.get_propositions %}
                        {% include 'brainstormers/brainstormer_detail_include_proposition.html' %}
                    {% endwith %}
                </ul>
            </div>
        </div>
    </div>
{% endblock main %}
