include the referral code when user signs up via SIWSL
This commit is contained in:
parent
04bcc24ad7
commit
b41b695228
|
@ -32,10 +32,15 @@
|
||||||
<a href="{{ url_for('auth.login', next=next) }}" class="btn btn-success">
|
<a href="{{ url_for('auth.login', next=next) }}" class="btn btn-success">
|
||||||
Login
|
Login
|
||||||
</a>
|
</a>
|
||||||
|
{% if client.referral %}
|
||||||
|
<a href="{{ url_for('auth.register', slref=client.referral.code, next=next) }}" class="btn btn-info">
|
||||||
|
Sign Up
|
||||||
|
</a>
|
||||||
|
{% else %}
|
||||||
<a href="{{ url_for('auth.register', next=next) }}" class="btn btn-info">
|
<a href="{{ url_for('auth.register', next=next) }}" class="btn btn-info">
|
||||||
Sign Up
|
Sign Up
|
||||||
</a>
|
</a>
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue