{{!
    This file is part of Moodle - http://moodle.org/

    Moodle is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    Moodle is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
}}
{{!
    @template format_topcoll/displayinstructions

    Collapsed Topics display instructions template.

    Context variables required for this template:
    * rtl - Right to left?
    * spacer - Spacer markup.

    Example context (json):
    {
        "rtl": false,
        "spacer": ""
    }
}}
<li id="topcoll-display-instructions" class="tcsection main clearfix">
    {{#spacer}}
    <div class="{{^rtl}}left{{/rtl}}{{#rtl}}right{{/rtl}} side">{{{spacer}}}</div>
    {{/spacer}}
    <div class="content">
        <div class="sectionbody">
            <p>{{#str}}instructions, format_topcoll{{/str}}</p>
        </div>
    </div>
    {{#spacer}}
    <div class="{{^rtl}}right{{/rtl}}{{#rtl}}left{{/rtl}} side">{{{spacer}}}</div>
    {{/spacer}}
</li>
