home.html & list.html templates no longer feature hardcoded urls (replaced w. django templating)
This commit is contained in:
@@ -3,4 +3,4 @@
|
||||
{% block title_text %}Start a new to-do list{% endblock title_text %}
|
||||
{% block header_text %}Start a new to-do list{% endblock header_text %}
|
||||
|
||||
{% block form_action %}/apps/dashboard/newlist{% endblock form_action %}
|
||||
{% block form_action %}{% url "new_list" %}{% endblock form_action %}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
{% block title_text %}Your to-do list{% endblock title_text %}
|
||||
{% block header_text %}Your to-do list{% endblock header_text %}
|
||||
|
||||
{% block form_action %}/apps/dashboard/{{ list.id }}/{% endblock form_action %}
|
||||
{% block form_action %}{% url "view_list" list.id %}{% endblock form_action %}
|
||||
|
||||
{% block table %}
|
||||
<table id="id-list-table" class="table">
|
||||
|
||||
Reference in New Issue
Block a user