Skip to content
Snippets Groups Projects
Commit a2f40bc5 authored by Leo Fahrbach's avatar Leo Fahrbach
Browse files

Fix application button and picture display. Closes #43

parent 5a0e777b
No related branches found
No related tags found
No related merge requests found
Pipeline #1582 passed with warnings
......@@ -8,9 +8,8 @@
<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 %}
......
......@@ -66,7 +66,7 @@
<div class="row no-gutters">
{% if field.application.avatar %}
<div class="col-3">
<img src="{{ field.application.avatar.url }}" class="card-img" alt="applicant-picture">
<img src="{{ field.application.avatar.url }}" alt="applicant-picture">
</div>
{% endif %}
<div class="col-9">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment