{** * templates/controllers/grid/settings/user/form/userDetailsForm.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 for creating/editing a user. *} {if !$userId} {assign var="passwordRequired" value="true"} {/if}{* !$userId *}
{csrf}
{if $userId}

{translate key="grid.user.userDetails"}

{else}

{translate key="grid.user.step1"}

{/if} {if $userId} {/if} {include file="controllers/notification/inPlaceNotification.tpl" notificationId="userDetailsFormNotification"}
{if $userId}{assign var="disableSendNotifySection" value=true}{/if} {include file="common/userDetails.tpl" disableAuthSourceSection=!$authSourceOptions disableSendNotifySection=$disableSendNotifySection } {if $canCurrentUserGossip} {fbvFormSection label="user.gossip" description="user.gossip.description"} {fbvElement type="textarea" name="gossip" id="gossip" rich=true value=$gossip} {/fbvFormSection} {/if} {if $userId} {fbvFormSection} {assign var="uuid" value=""|uniqid|escape}
{/fbvFormSection} {/if}

{translate key="common.requiredField"}

{fbvFormButtons}