<table cellspacing="0" cellpadding="5" border="0" class="boxaligncenter">

<tr valign="top">
    <td align="right">enrol_manual_keyholderrole:</td>
    <td>
    <?php
        $roles = get_all_roles();
        $rolenames = array();
        foreach ($roles as $id=>$role) {
            $rolenames[$id]=$role->name;
        }
        echo html_writer::select($rolenames, 'enrol_manual_keyholderrole', $frm->enrol_manual_keyholderrole);
    ?>
    </td>
    <td>
    <?php  print_string("keyholderrole", "enrol_manual") ?>
    </td>
</tr>

<tr>
    <td align="right">enrol_manual_showhint:</td>
    <td>
<?php
    $choices = array();
    $choices['0'] = get_string('no');
    $choices['1'] = get_string('yes');
    echo html_writer::select($choices, 'enrol_manual_showhint', $frm->enrol_manual_showhint, false);
?>
    </td><td>
    <?php  print_string('enrol_manual_showhint', 'enrol_manual') ?>
    </td>
</tr>

<tr>
    <td align="right">enrol_manual_usepasswordpolicy:</td>
    <td>
<?php
    $choices = array();
    $choices['0'] = get_string('no');
    $choices['1'] = get_string('yes');
    echo html_writer::select($choices, 'enrol_manual_usepasswordpolicy', $frm->enrol_manual_usepasswordpolicy, false);
?>
    </td><td>
    <?php  print_string('enrol_manual_usepasswordpolicy', 'enrol_manual') ?>
    </td>
</tr>

<tr>
    <td align="right">enrol_manual_requirekey:</td>
    <td>
<?php
    $choices = array();
    $choices['0'] = get_string('no');
    $choices['1'] = get_string('yes');
    echo html_writer::select($choices, 'enrol_manual_requirekey', $frm->enrol_manual_requirekey, false);
?>
    </td><td>
    <?php  print_string('enrol_manual_requirekey', 'enrol_manual') ?>
    </td>
</tr>


</table>
