aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/register.tpl
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-04-15 09:26:47 +0000
committerMario <mario@mariovavti.com>2021-04-15 09:26:47 +0000
commit4d3a555b53f3fdd710d7d502bb812d9a565a35f4 (patch)
tree1784b3145dcc892f7256a26cae179bdf7386466a /view/tpl/register.tpl
parente35ab97b7ecbd96e11883bc194bfe9fb5a72e7f2 (diff)
downloadvolse-hubzilla-4d3a555b53f3fdd710d7d502bb812d9a565a35f4.tar.gz
volse-hubzilla-4d3a555b53f3fdd710d7d502bb812d9a565a35f4.tar.bz2
volse-hubzilla-4d3a555b53f3fdd710d7d502bb812d9a565a35f4.zip
register: minor fixes and template cleanup
Diffstat (limited to 'view/tpl/register.tpl')
-rw-r--r--view/tpl/register.tpl11
1 files changed, 6 insertions, 5 deletions
diff --git a/view/tpl/register.tpl b/view/tpl/register.tpl
index 3dba25706..8e1530eb4 100644
--- a/view/tpl/register.tpl
+++ b/view/tpl/register.tpl
@@ -35,12 +35,13 @@
{{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]}}
+ <div id="name-spinner" class="spinner-wrapper position-absolute" style="top: 2.5rem; right: 0.75rem;"><div class="spinner s"></div></div>
+ {{include file="field_input.tpl" field=$name}}
</div>
<div class="position-relative">
- <div id="nick-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=[$nickname.0,$nickname.1,"","","",$atform]}}
+ <div id="nick-hub" class="position-absolute" style="top: 2.3rem; right: 0.75rem;"><span class="text-muted">{{$nickhub}}</span></div>
+ <div id="nick-spinner" class="spinner-wrapper position-absolute" style="top: 2.5rem; right: 0.75rem;"><div class="spinner s"></div></div>
+ {{include file="field_input.tpl" field=$nickname}}
</div>
{{/if}}
{{include file="field_input.tpl" field=$email}}
@@ -50,7 +51,7 @@
{{include file="field_textarea.tpl" field=$register_msg}}
{{/if}}
{{if $enable_tos}}
- {{include file="field_checkbox.tpl" field=[$tos.0,$tos.1,"","","",$atform]}}
+ {{include file="field_checkbox.tpl" field=$tos}}
{{else}}
<input type="hidden" name="tos" value="1" />
{{/if}}