Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {% if item.status %}
- <p class="my-auto">
- <del>{{ item.text }}</del>
- </p>
- <a href="{% url 'todo-update' item.id %}" class="btn btn-outline-primary">Redo</a>
- {% else %}
- <p class="my-auto">{{ item.text }}</p>
- <a href="{% url 'todo-update' item.id %}" class="btn btn-outline-secondary">Done</a>
- {% endif %}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement