Language course html
Jump to navigation
Jump to search
| Line 203: | Line 203: | ||
<select id="select_teachers" multiple class="ci_form_input" name="Form language course[Teachers][]"> | <select id="select_teachers" multiple class="ci_form_input" name="Form language course[Teachers][]"> | ||
| + | {{#ci_noparse_isHTML: | ||
| + | {{#replace: | ||
| + | {{#arraymap: | ||
| + | {{#ask: | ||
| + | [[~{{#ci_userAffiliatedTo:}}*]] [[Category:Teachers]] | ||
| + | |?Teacher first name= | ||
| + | |?Teacher last name= | ||
| + | |mainlabel=- | ||
| + | |format=array | ||
| + | |sep=## | ||
| + | }} | ||
| + | |##|x|'x'|,}} | ||
| + | |<PROP>|<nowiki/> <nowiki/>}} | ||
| + | }} | ||
| + | <html> | ||
| + | |||
</select> | </select> | ||
| Line 312: | Line 328: | ||
var dropdown = $ci("#select_teachers"); | var dropdown = $ci("#select_teachers"); | ||
$ci.each(teachers, function(index,value) { | $ci.each(teachers, function(index,value) { | ||
| − | dropdown.append($ci("<option />").text(value)); | + | //dropdown.append($ci("<option />").text(value)); |
}); | }); | ||
Revision as of 11:13, 9 August 2020