{extends "idf/gadmin/users/base.html"} {block docclass}yui-t1{assign $inUpdate=true}{/block} {block body} {if $form.errors}

{trans 'The form contains some errors. Please correct them to update the user.'}

{if $form.get_top_errors} {$form.render_top_errors|unsafe} {/if}
{/if}
{aurl 'url', 'IDF_Views_User::view', array($cuser.login)} {if $user.administrator} {/if}
{trans 'Login:'}{$cuser.login}
{$form.f.first_name.labelTag}: {if $form.f.first_name.errors}{$form.f.first_name.fieldErrors}{/if} {$form.f.first_name|unsafe}
{$form.f.last_name.labelTag}: {if $form.f.last_name.errors}{$form.f.last_name.fieldErrors}{/if} {$form.f.last_name|unsafe}
{$form.f.email.labelTag}: {if $form.f.email.errors}{$form.f.email.fieldErrors}{/if} {$form.f.email|unsafe}
{$form.f.language.labelTag}: {if $form.f.language.errors}{$form.f.language.fieldErrors}{/if} {$form.f.language|unsafe}
{$form.f.password.labelTag}: {if $form.f.password.errors}{$form.f.password.fieldErrors}{/if} {$form.f.password|unsafe}
{$form.f.password.help_text}
{$form.f.password2.labelTag}: {if $form.f.password2.errors}{$form.f.password2.fieldErrors}{/if} {$form.f.password2|unsafe}
{trans "Public Profile"}
{$form.f.description.labelTag}: {if $form.f.description.errors}{$form.f.description.fieldErrors}{/if} {$form.f.description|unsafe}
{$form.f.twitter.labelTag}: {if $form.f.twitter.errors}{$form.f.twitter.fieldErrors}{/if} {$form.f.twitter|unsafe}
{$form.f.public_email.labelTag}: {if $form.f.public_email.errors}{$form.f.public_email.fieldErrors}{/if} {$form.f.public_email|unsafe}
{$form.f.website.labelTag}: {if $form.f.website.errors}{$form.f.website.fieldErrors}{/if} {$form.f.website|unsafe}
{$form.f.custom_avatar.labelTag}: {if $form.f.custom_avatar.errors}{$form.f.custom_avatar.fieldErrors}{/if} {$form.f.custom_avatar|unsafe}
{$form.f.custom_avatar.help_text}
{if $form.f.remove_custom_avatar.errors}{$form.f.remove_custom_avatar.fieldErrors}{/if} {$form.f.remove_custom_avatar|unsafe} {$form.f.remove_custom_avatar.labelTag}
{$form.f.remove_custom_avatar.help_text}
{trans "Administrative"}
{if $form.f.staff.errors}{$form.f.staff.fieldErrors}{/if} {$form.f.staff|unsafe} {$form.f.staff.labelTag}
{$form.f.staff.help_text}
{if $form.f.active.errors}{$form.f.active.fieldErrors}{/if} {$form.f.active|unsafe} {$form.f.active.labelTag}
{$form.f.active.help_text}
  | {trans 'Cancel'}
{/block} {block context}

{trans 'Instructions:'}

{blocktrans}If you are changing the email address of the user, you need to ensure that you are providing a valid email address{/blocktrans}

{if $user.administrator}

{blocktrans}If you give the user staff rights, the user will be able to create new projects and update other non staff users. {/blocktrans}

{/if}
{/block}