bornhack-website/villages/templates/village_detail.html

18 lines
340 B
HTML
Raw Normal View History

2016-07-05 21:43:18 +00:00
{% extends 'base.html' %}
{% load commonmark %}
{% block content %}
<h3>{{ village.name }}</h3>
{{ village.description|commonmark }}
<hr />
2016-07-05 21:47:08 +00:00
{% if user == village.contact %}
<a href="{% url 'villages:update' slug=village.slug %}">Edit</a> |
<a href="{% url 'villages:delete' slug=village.slug %}">Delete</a>
2016-07-05 21:43:18 +00:00
{% endif %}
{% endblock %}