Move hr into the if block
This commit is contained in:
parent
bd089d03d3
commit
e5d330fa01
|
@ -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 %}
|
||||||
|
|
Loading…
Reference in a new issue