{** * templates/controllers/grid/settings/roles/form/userGroupForm.tpl * * Copyright (c) 2014-2019 Simon Fraser University * Copyright (c) 2003-2019 John Willinsky * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING. * * Form to edit or create a user group *}
{csrf} {include file="controllers/notification/inPlaceNotification.tpl" notificationId="userGroupFormNotification"} {if $userGroupId} {/if} {fbvFormArea id="userGroupDetails"}

{translate key="settings.roles.roleDetails"}

{fbvFormSection title="settings.roles.from" for="roleId" required="true"} {fbvElement type="select" name="roleId" from=$roleOptions id="roleId" selected=$roleId disabled=$disableRoleSelect required="true"} {/fbvFormSection} {fbvFormSection title="settings.roles.roleName" for="name" required="true"} {fbvElement type="text" multilingual="true" name="name" value=$name id="name" required="true"} {/fbvFormSection} {fbvFormSection title="settings.roles.roleAbbrev" for="abbrev" required="true"} {fbvElement type="text" multilingual="true" name="abbrev" value=$abbrev id="abbrev" required="true"} {/fbvFormSection} {/fbvFormArea}
{fbvFormArea id="userGroupRoles"} {fbvFormSection title="grid.roles.stageAssignment" for="assignedStages[]" list="true"} {fbvElement type="checkboxgroup" name="assignedStages" id="assignedStages" from=$stages selected=$assignedStages} {/fbvFormSection} {/fbvFormArea}
{fbvFormArea id="userGroupOptions"} {fbvFormSection title="settings.roles.roleOptions" list="true"} {fbvElement type="checkbox" name="showTitle" id="showTitle" checked=$showTitle label="settings.roles.showTitles"} {fbvElement type="checkbox" name="permitSelfRegistration" id="permitSelfRegistration" checked=$permitSelfRegistration label="settings.roles.permitSelfRegistration"} {fbvElement type="checkbox" name="recommendOnly" id="recommendOnly" checked=$recommendOnly label="settings.roles.recommendOnly"} {/fbvFormSection} {/fbvFormArea}

{translate key="common.requiredField"}

{fbvFormButtons}