diff --git a/management/templates/management/application.html b/management/templates/management/application.html index 8fb4da6a956e1d6b53e3833474ed302cd90f97af..e18d39cce89a82549eb139b4ba5dbdd6ce298b50 100644 --- a/management/templates/management/application.html +++ b/management/templates/management/application.html @@ -74,6 +74,8 @@ </div> {% endif %} <button type="submit" class="btn btn-primary btn-block">Submit</button> + <a class="btn btn-secondary btn-block" + href="{% url 'management:election' election.pk %}">Cancel</a> </form> </div> </div> diff --git a/vote/templates/vote/index_election_item.html b/vote/templates/vote/index_election_item.html index a1b118ea13c139acb8c63fba757e3e9171ee524f..2b3d1cea8f9815bcc29d2fa19a1baf9b07692de5 100644 --- a/vote/templates/vote/index_election_item.html +++ b/vote/templates/vote/index_election_item.html @@ -8,9 +8,7 @@ <a class="btn btn-danger float-right ml-3" href="{% url 'vote:delete_own_application' election.pk %}"> Delete application </a> {% endif %} - <a class="btn btn-dark float-right" href="{% url 'vote:apply' election.pk %}"> {% if edit %} Edit application {% - else %} - Apply {% endif %}</a> + <a class="btn btn-dark float-right" href="{% url 'vote:apply' election.pk %}"> {% if edit %} Edit application {% else %} Apply {% endif %}</a> {% endif %} </h4> {% if election.end_date %}