Edit formURL for register and login modals
This commit is contained in:
parent
a9030ac398
commit
2e70d24893
@ -40,10 +40,10 @@
|
|||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$(function() {
|
$(function() {
|
||||||
$("#registerLink").modalForm({
|
$("#registerLink").modalForm({
|
||||||
formURL: "{% url 'signup' %}"
|
formURL: "{% url 'signup_modal' %}"
|
||||||
});
|
});
|
||||||
$("#loginLink").modalForm({
|
$("#loginLink").modalForm({
|
||||||
formURL: "{% url 'login' %}"
|
formURL: "{% url 'login_modal' %}"
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
@ -43,8 +43,6 @@
|
|||||||
</nav>
|
</nav>
|
||||||
{% block body %}
|
{% block body %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
</main>
|
|
||||||
{% block footer %}
|
|
||||||
{% include "base/legal.html" %}
|
{% include "base/legal.html" %}
|
||||||
<script src="https://code.jquery.com/jquery-3.5.0.min.js" integrity="sha256-xNzN2a4ltkB44Mc/Jz3pT4iU1cmeR0FkXs4pru/JxaQ=" crossorigin="anonymous"></script>
|
<script src="https://code.jquery.com/jquery-3.5.0.min.js" integrity="sha256-xNzN2a4ltkB44Mc/Jz3pT4iU1cmeR0FkXs4pru/JxaQ=" crossorigin="anonymous"></script>
|
||||||
<script src="{% static 'js/jquery.bootstrap.modal.forms.min.js' %}"></script>
|
<script src="{% static 'js/jquery.bootstrap.modal.forms.min.js' %}"></script>
|
||||||
|
Loading…
Reference in New Issue
Block a user