Edit formURL for register and login modals
This commit is contained in:
parent
a9030ac398
commit
2e70d24893
@ -40,10 +40,10 @@
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
$("#registerLink").modalForm({
|
||||
formURL: "{% url 'signup' %}"
|
||||
formURL: "{% url 'signup_modal' %}"
|
||||
});
|
||||
$("#loginLink").modalForm({
|
||||
formURL: "{% url 'login' %}"
|
||||
formURL: "{% url 'login_modal' %}"
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
@ -43,8 +43,6 @@
|
||||
</nav>
|
||||
{% block body %}
|
||||
{% endblock %}
|
||||
</main>
|
||||
{% block footer %}
|
||||
{% 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="{% static 'js/jquery.bootstrap.modal.forms.min.js' %}"></script>
|
||||
|
Loading…
Reference in New Issue
Block a user