{extends "idf/base-simple.html"} {block body} {if $form.errors}

{trans 'Oops, please check the form for errors.'}

{if $form.get_top_errors} {$form.render_top_errors|unsafe} {/if}
{/if}
{aurl 'url', 'IDF_Views_User::view', array($user.login)}
{trans 'Login:'}{$user.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.email.help_text}
{$form.f.timezone.labelTag}: {if $form.f.timezone.errors}{$form.f.timezone.fieldErrors}{/if} {$form.f.timezone|unsafe}
{$form.f.timezone.help_text}
{$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 "Key Management"}
{$form.f.public_key.labelTag}: {if $form.f.public_key.errors}{$form.f.public_key.fieldErrors}{/if} {$form.f.public_key|unsafe}
{$form.f.public_key.help_text}
{$form.f.otpkey.labelTag}: {if $form.f.otpkey.errors}{$form.f.otpkey.fieldErrors}{/if} {$form.f.otpkey|unsafe} Generate
{$form.f.otpkey.help_text}

{trans "Secondary Emails"}
{$form.f.secondary_mail.labelTag}: {if $form.f.secondary_mail.errors}{$form.f.secondary_mail.fieldErrors}{/if} {$form.f.secondary_mail|unsafe}
{$form.f.secondary_mail.help_text}
{trans 'Extra password'}: {$ext_pass}
{trans 'This password is used to access some of the external systems managed by our infrastructure. It will be regenerated if you change your password.'}
{trans 'API key'}: {$api_key}
{trans 'Your API key will be regenerated automatically if you change your password.'}
  | {trans 'Cancel'}
{if count($keys)} {foreach $keys as $key} {/foreach}
{trans 'Your Current Public Keys'}
Key Key Added Key Last Used Last IP Delete
{$key.showCompact()} {$key.creation_dtime|date} {$key.last_used|dateago} {$key.ipaddress}
{/if} {if count($mailaddrs)>1} {foreach $mailaddrs as $mail}{if $mail.id != -1}{/if}{/foreach}
{trans 'Your additional email addresses'}
{$mail.address}
{/if} {/block} {block context}

{trans 'If possible, use your real name. By using your real name, people will have more trust in your comments and remarks.'}

{trans 'The extra password is used to access some of the external systems and the API key is used to interact with this website using a program.'}

{/block} {block javascript} {/block}