Adds action views
This commit is contained in:
parent
135fcbd269
commit
42abc145c8
6 changed files with 35 additions and 6 deletions
|
@ -6,7 +6,7 @@
|
|||
{% with request.user|bookmarked:list as bookmarked %}
|
||||
<form
|
||||
name="bookmark-{{ list.id }}"
|
||||
action="/"
|
||||
action="{% url 'list-bookmark' list.id %}"
|
||||
method="POST"
|
||||
class="interaction bookmark_{{ list.id }} {% if bookmarked %}is-hidden{% endif %}"
|
||||
data-id="bookmark_{{ list.id }}"
|
||||
|
@ -21,7 +21,7 @@
|
|||
|
||||
<form
|
||||
name="bookmark-{{ list.id }}"
|
||||
action="/"
|
||||
action="{% url 'list-unbookmark' list.id %}"
|
||||
method="POST"
|
||||
class="interaction active bookmark_{{ list.id }} {% if not bookmarked %}is-hidden{% endif %}"
|
||||
data-id="bookmark_{{ list.id }}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue