diff --git a/templates/web/edugain/complete_challenge.tt2.html b/templates/web/edugain/complete_challenge.tt2.html index 5eb19ad82a587d0af0abca319f5f3140755eef70..880e67505dbe1b915cbd3a8c2092405fc5876d03 100644 --- a/templates/web/edugain/complete_challenge.tt2.html +++ b/templates/web/edugain/complete_challenge.tt2.html @@ -22,6 +22,16 @@ <legend>[% lh.maketext("Accounts validity period, in days:") %]</legend> <input name="validity" value="[% validity %]" id="validity" type="number" class="required" min="1"/> </fieldset> + <fieldset> + <legend>[% lh.maketext("Account profiles:") %]</legend> +[% FOREACH profile IN profiles %] + [% template = profile _ '.tt2' %] + [% PROCESS $template scope=account.scope() id=account.id() | trim %] + <input type="checkbox" id="[% profile %]" name="profiles" value="[% profile %]" checked/> + <label for="[% profile %]">[% profile %] <span class="fa fa-question-circle" title="[% description.${lh.language_tag()} %]"></span></label> +[% END %] + + </fieldset> <input type="hidden" name="federation" value="[% federation %]"/> <input type="hidden" name="entityid" value="[% entityid %]"/> <input type="hidden" name="email" value="[% email %]"/>