Added delete functionality for events. Additionally, made improvements and fixed to the validation for event creation.
This commit is contained in:
parent
11abbb8a64
commit
7b2ac3ec38
7 changed files with 188 additions and 33 deletions
|
@ -41,7 +41,7 @@
|
|||
<a href="{% url 'polls:edit-event' event.id %}">
|
||||
<span class="btn btn-default glyphicon glyphicon-pencil"></span>
|
||||
</a>
|
||||
<a href="#">
|
||||
<a href="{% url 'polls:del-event' event.id %}">
|
||||
<span class="btn btn-default glyphicon glyphicon-trash"></span>
|
||||
</a>
|
||||
</td>
|
||||
|
|
Reference in a new issue