be252e49e2
Migrate legacy ajax/JS to external services and AMD, enable TLS verification, scope admin CSS with RTLCSS-safe rules, and fix README/lang/boilerplate gaps. Co-authored-by: Cursor <cursoragent@cursor.com>
43 lines
1.7 KiB
Plaintext
43 lines
1.7 KiB
Plaintext
{{!
|
|
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_meetletacbfree/participant_single_select
|
|
@copyright 2026 MeetLet <info@meetlet.net>
|
|
@license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
|
}}
|
|
<div class="{{classes}} d-inline-block">
|
|
{{#label}}
|
|
<label for="{{id}}"{{#labelattributes}} {{name}}="{{value}}"{{/labelattributes}}>
|
|
{{{label}}}
|
|
</label>
|
|
{{/label}}
|
|
<select {{#attributes}}{{name}}="{{value}}" {{/attributes}} id="{{id}}" class="form-select {{classes}}" name="{{name}}"
|
|
{{#title}}title="{{.}}"{{/title}} {{#disabled}}disabled{{/disabled}}>
|
|
{{#options}}
|
|
{{#optgroup}}
|
|
<optgroup label="{{name}}">
|
|
{{#options}}
|
|
<option value="{{value}}" {{#selected}}selected{{/selected}}>{{{name}}}</option>
|
|
{{/options}}
|
|
</optgroup>
|
|
{{/optgroup}}
|
|
{{^optgroup}}
|
|
<option value="{{value}}" {{#selected}}selected{{/selected}}>{{{name}}}</option>
|
|
{{/optgroup}}
|
|
{{/options}}
|
|
</select>
|
|
</div>
|