argumentation.html 846 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
<div class="panel-group" id="arguments" role="tablist" aria-multiselectable="true">
    <repeat group="{{ @arguments }}" value="{{ @argument }}" counter="{{ @key }}">
    <div class="panel panel-default">
        <div class="panel-heading" role="tab" id="args_h{{ @key }}">
            <h4 class="panel-title">
                <a role="button" class="collapsed" data-toggle="collapse" data-parent="#arguments" href="#args_c{{ @key }}" aria-expanded="false" aria-controls="args_c{{ @key }}">
                    {{ @argument.title }}
                </a>
            </h4>
        </div>
        <div id="args_c{{ @key }}" class="panel-collapse collapse" role="tabpanel" aria-labelledby="args_h{{ @key }}">
            <div class="panel-body">
                {{ @argument.text }}
            </div>
        </div>
    </div>
    </repeat>
</div>