root / snf-astakos-app / astakos / im / templates / im / auth / signup_form.html @ 8cd117e8
History | View | Annotate | Download (1.2 kB)
1 |
<div class="form-stacked"> |
---|---|
2 |
<form action="{% url signup %}" method="post" |
3 |
class="innerlabels signup">{% csrf_token %} |
4 |
|
5 |
<input type="hidden" name="next" value="{{ next }}"> |
6 |
<input type="hidden" name="code" value="{{ code }}"> |
7 |
<input type="hidden" name="provider" value={{ provider|default:"local" }}> |
8 |
{% if third_party_token %} |
9 |
<input type="hidden" name="third_party_token" value={{ third_party_token }}> |
10 |
{% endif %} |
11 |
{% with signup_form as form %} |
12 |
{% include "im/form_render.html" %} |
13 |
{% endwith %} |
14 |
<div class="form-row submit"> |
15 |
|
16 |
<input type="submit" class="submit altcol" value="SUBMIT" /> |
17 |
{% if third_party_token %} |
18 |
<a href={%url index %} class="rt-link">CANCEL</a> |
19 |
{% endif %} |
20 |
</div>
|
21 |
</form>
|
22 |
</div>
|
23 |
{% if auth_providers|length == 1 or provider_obj.is_primary %} |
24 |
<style>
|
25 |
.two-cols .rt > p { display: none }
|
26 |
.form-stacked { display: block !important } |
27 |
a.submit.standalone.{{ provider_obj.module }}-provider { display: none !important } |
28 |
</style>
|
29 |
|
30 |
<script>
|
31 |
$(document).ready(function(){
|
32 |
$('.lt .pic').attr('src', '{{ IM_STATIC_URL }}images/ringer2.png');
|
33 |
});
|
34 |
</script>
|
35 |
|
36 |
{% endif %} |