Commit 40d10a5e authored by Clare Lenihan's avatar Clare Lenihan Committed by Clare Lenihan
Browse files

Added group field which restricts to users in that group

parent 13bd7235
......@@ -69,6 +69,10 @@ function pieform_element_userlist(Pieform $form, $element) {
$smarty->assign('righttitle', $element['righttitle']);
}
if (!empty($element['group'])) {
$smarty->assign('group', $element['group']);
}
return $smarty->fetch('form/userlist.tpl');
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment