Root/
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 | {extends "idf/gadmin/users/base.html"} {block docclass}yui-t1{assign $inCreate=true}{/block} {block body} {if $form.errors} < div class = "px-message-error" > < p >{trans 'The form contains some errors. Please correct them to create the user.'}</ p > {if $form.get_top_errors} {$form.render_top_errors|unsafe} {/if} </ div > {/if} < form method = "post" action = "." > < table class = "form" summary = "" > < tr > < th >< strong >{$form.f.login.labelTag}:</ strong ></ th > < td >{if $form.f.login.errors}{$form.f.login.fieldErrors}{/if} {$form.f.login|unsafe} </ td > </ tr > < tr > < th >{$form.f.first_name.labelTag}:</ th > < td >{if $form.f.first_name.errors}{$form.f.first_name.fieldErrors}{/if} {$form.f.first_name|unsafe} </ td > </ tr > < tr > < th >< strong >{$form.f.last_name.labelTag}:</ strong ></ th > < td >{if $form.f.last_name.errors}{$form.f.last_name.fieldErrors}{/if} {$form.f.last_name|unsafe} </ td > </ tr > < tr > < th >< strong >{$form.f.email.labelTag}:</ strong ></ th > < td >{if $form.f.email.errors}{$form.f.email.fieldErrors}{/if} {$form.f.email|unsafe}< br /> < span class = "helptext" >{$form.f.email.help_text}</ span > </ td > </ tr > < tr > < th >{$form.f.language.labelTag}:</ th > < td >{if $form.f.language.errors}{$form.f.language.fieldErrors}{/if} {$form.f.language|unsafe} </ td > </ tr > < tr > < th >{$form.f.public_key.labelTag}:</ th > < td >{if $form.f.public_key.errors}{$form.f.public_key.fieldErrors}{/if} {$form.f.public_key|unsafe}< br /> < span class = "helptext" >{$form.f.public_key.help_text}</ span > </ td > </ tr > < tr > < td > </ td > < td >< input type = "submit" value = "{trans 'Create User'}" name = "submit" /> | < a href = "{url 'IDF_Views_Admin::users'}" >{trans 'Cancel'}</ a > </ td > </ tr > </ table > </ form > {/block} {block context} < div class = "issue-submit-info" > < p >{trans 'The user password will be sent by email to the user.'}</ p > </ div >{/block} {block javascript}< script type = "text/javascript" > document.getElementById('id_login').focus(); </ script >{/block} |