diff options
Diffstat (limited to 'view/tpl')
-rw-r--r-- | view/tpl/js_strings.tpl | 3 | ||||
-rw-r--r-- | view/tpl/register.tpl | 19 |
2 files changed, 11 insertions, 11 deletions
diff --git a/view/tpl/js_strings.tpl b/view/tpl/js_strings.tpl index c0d8d104e..8f05165f1 100644 --- a/view/tpl/js_strings.tpl +++ b/view/tpl/js_strings.tpl @@ -72,7 +72,8 @@ 'download_info' : "{{$download_info}}", // mod register - 'email_not_valid' : "{{$email_not_valid}}" + 'email_not_valid' : "{{$email_not_valid}}", + 'email_required' : "{{$email_required}}" }; diff --git a/view/tpl/register.tpl b/view/tpl/register.tpl index 7940b8945..fe67abe89 100644 --- a/view/tpl/register.tpl +++ b/view/tpl/register.tpl @@ -19,16 +19,6 @@ </div> {{/if}} - {{if $auto_create}} - {{if $default_role}} - <input type="hidden" name="permissions_role" value="{{$default_role}}" /> - {{else}} - <div class="section-content-info-wrapper"> - {{$help_role}} - </div> - {{include file="field_select_grouped.tpl" field=$role}} - {{/if}} - {{if $invitations}} <a id="zar014" href="javascript:;" style="display: inline-block;">{{$haveivc}}</a> <div id="zar015" style="display: none;"> @@ -39,6 +29,15 @@ </div> {{/if}} + {{if $auto_create}} + {{if $default_role}} + <input type="hidden" name="permissions_role" value="{{$default_role}}" /> + {{else}} + <div class="section-content-info-wrapper"> + {{$help_role}} + </div> + {{include file="field_select_grouped.tpl" field=$role}} + {{/if}} <div class="position-relative"> <div id="name-spinner" class="spinner-wrapper position-absolute" style="top: 2.5rem; right: 0.5rem;"><div class="spinner s"></div></div> |