{{!
    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 mod_verbalfeedback/index

    Moodle template to the template library

    The purpose of this template is build the entire page for the template library (by including smaller templates).

    Classes required for JS:
    * mod_verbalfeedback/index

    Data attributes required for JS:
    * none

    Context variables required for this template:
    * instances - Array of all the verbalfeedback instances.

    Example context (json):
    {
        "instances": [
            {
                "name": "Anonymous verbal feedback",
                "url" : "#"
            },
            {
                "name": "Another verbal feedback",
                "url" : "#"
            },
            {
                "name": "Non-anonymous verbal feedback",
                "url" : "#"
            }
        ]
    }
}}
<table class="table table-striped">
    <thead>
        <tr>
            <th class="span4">{{#str}}pluginname, mod_verbalfeedback{{/str}}</th>
        </tr>
    </thead>
    <tbody>
    {{# instances }}
        <tr class="user3 unselectedrow">
            <td>
                <a href="{{url}}">{{name}}</a>
            </td>
        </tr>
    {{/ instances }}
    </tbody>
</table>
