bornhack-website/villages/templates/village_detail.html

17 lines
384 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 }}
2016-07-05 21:47:08 +00:00
{% if user == village.contact %}
2016-07-10 21:14:57 +00:00
<hr />
<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>
2016-07-05 21:43:18 +00:00
{% endif %}
{% endblock %}