Move hr into the if block

This commit is contained in:
Víðir Valberg Guðmundsson 2016-07-10 23:14:57 +02:00
parent bd089d03d3
commit e5d330fa01

View file

@ -7,9 +7,8 @@
{{ village.description|commonmark }} {{ village.description|commonmark }}
<hr />
{% if user == village.contact %} {% if user == village.contact %}
<hr />
<a href="{% url 'villages:update' slug=village.slug %}" class="btn btn-primary">Edit</a> <a href="{% url 'villages:update' slug=village.slug %}" class="btn btn-primary">Edit</a>
<a href="{% url 'villages:delete' slug=village.slug %}" class="btn btn-danger">Delete</a> <a href="{% url 'villages:delete' slug=village.slug %}" class="btn btn-danger">Delete</a>
{% endif %} {% endif %}