aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/register.tpl
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-04-09 19:25:31 +0000
committerMario <mario@mariovavti.com>2021-04-09 19:25:31 +0000
commit766fc92a3b9af06ebeda2f017e0f9fbe31eb3179 (patch)
treed9600ee624f8dde226196f73896bae2103755e6c /view/tpl/register.tpl
parentdf6f2abfbe283a25cdfe3c8fae848abda35cedaf (diff)
downloadvolse-hubzilla-766fc92a3b9af06ebeda2f017e0f9fbe31eb3179.tar.gz
volse-hubzilla-766fc92a3b9af06ebeda2f017e0f9fbe31eb3179.tar.bz2
volse-hubzilla-766fc92a3b9af06ebeda2f017e0f9fbe31eb3179.zip
register: we use default role if auto create is configured
Diffstat (limited to 'view/tpl/register.tpl')
-rw-r--r--view/tpl/register.tpl28
1 files changed, 6 insertions, 22 deletions
diff --git a/view/tpl/register.tpl b/view/tpl/register.tpl
index fe67abe89..761e48773 100644
--- a/view/tpl/register.tpl
+++ b/view/tpl/register.tpl
@@ -20,25 +20,16 @@
{{/if}}
{{if $invitations}}
- <a id="zar014" href="javascript:;" style="display: inline-block;">{{$haveivc}}</a>
- <div id="zar015" style="display: none;">
- <div class="position-relative">
- <div id="invite-spinner" class="spinner-wrapper position-absolute" style="top: 2.5rem; right: 0.5rem;"><div class="spinner s"></div></div>
- {{include file="field_input.tpl" field=[$invite_code.0,$invite_code.1,"","",""]}}
- </div>
+ <a id="zar014" href="javascript:;" style="display: inline-block;">{{$haveivc}}</a>
+ <div id="zar015" style="display: none;">
+ <div class="position-relative">
+ <div id="invite-spinner" class="spinner-wrapper position-absolute" style="top: 2.5rem; right: 0.5rem;"><div class="spinner s"></div></div>
+ {{include file="field_input.tpl" field=[$invite_code.0,$invite_code.1,"","",""]}}
</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 $auto_create}}
<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>
{{include file="field_input.tpl" field=[$name.0,$name.1,"","","",$atform]}}
@@ -70,10 +61,3 @@
</form>
</div>
</div>
-{{*
- COMMENTS for this template:
- hilmar, 2020.02
-*}}
-<script>
-
-</script>