|
@@ -5,28 +5,40 @@
|
|
|
{% block content %}
|
|
{% block content %}
|
|
|
|
|
|
|
|
<style media="screen">
|
|
<style media="screen">
|
|
|
- .form-error {
|
|
|
|
|
|
|
+
|
|
|
|
|
+ .form-error{
|
|
|
padding: 60 0 0 20;
|
|
padding: 60 0 0 20;
|
|
|
color: #F00;
|
|
color: #F00;
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
</style>
|
|
</style>
|
|
|
-<div class="container">
|
|
|
|
|
|
|
|
|
|
<div class="col-sm-6">
|
|
<div class="col-sm-6">
|
|
|
-
|
|
|
|
|
<br>
|
|
<br>
|
|
|
{{ form_content | safe }}
|
|
{{ form_content | safe }}
|
|
|
- <form method="post">{% csrf_token %}
|
|
|
|
|
- <p>Are you sure you want to delete "{{ object }}"?</p>
|
|
|
|
|
- <input type="submit" value="Confirm">
|
|
|
|
|
|
|
+ <form method="post">
|
|
|
|
|
+ {% csrf_token %}
|
|
|
|
|
+ <!-- Left here in case we need to debug -->
|
|
|
|
|
+ {% if signup_errors %}
|
|
|
|
|
+ <div class='invalid-feedback' style="display: none;">{{ signup_errors }}</div>
|
|
|
|
|
+ {% endif %}
|
|
|
|
|
+ {% if contact_errors %}
|
|
|
|
|
+ <div class='invalid-feedback' style="display: none;" >{{ contact_errors }}</div>
|
|
|
|
|
+ {% endif %}
|
|
|
|
|
+ <!-- end of debug -->
|
|
|
|
|
+
|
|
|
|
|
+ {{ signUp|crispy }}
|
|
|
|
|
+ {{ form|crispy }}
|
|
|
|
|
+
|
|
|
|
|
+ {% csrf_token %}
|
|
|
<br><br>
|
|
<br><br>
|
|
|
- <button type="submit" class="btn border-thin mybtn">Register</button>
|
|
|
|
|
- </form>
|
|
|
|
|
|
|
+ <button type="submit" class="btn border-thin mybtn" >Register</button> </form>
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
|
|
|
<div class="">
|
|
<div class="">
|
|
|
<br><br><br>
|
|
<br><br><br>
|
|
|
</div>
|
|
</div>
|
|
|
- </div>
|
|
|
|
|
-</div>
|
|
|
|
|
|
|
+ </div>
|
|
|
{% endblock %}
|
|
{% endblock %}
|