Sindbad~EG File Manager

Current Path : /var/www/html/doroyalseguros.sumar.com.py/tag/templates/
Upload File :
Current File : /var/www/html/doroyalseguros.sumar.com.py/tag/templates/combine_tags.mustache

{{!
    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 core_tag/combine_tags

    Renders the form for combining tags.

    Classes required for JS:
    * none

    Data attributes required for JS:
    * none

    Context variables required for this template:
    * tags Array The list of tags to combine.

    Example context (json):
    {
        "tags": [
            {
                "id": 1,
                "name": "Cat"
            },
            {
                "id": 2,
                "name": "Dog"
            },
            {
                "id": 3,
                "name": "Mouse"
            }
        ]
    }

}}
<form id="combinetags_form">
    <div class="description">{{#str}}selectmaintag, tag{{/str}}</div>
    <div class="form-group options form-inline">
        {{#tags}}
            <div class="form-check w-100 justify-content-start">
                <input type="radio" class="form-check-input" name="maintag" id="combinetags_maintag_{{id}}" value="{{id}}"/>
                <label class="form-check-label" for="combinetags_maintag_{{id}}">{{name}}</label>
            </div>
        {{/tags}}
    </div>
</form>

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists