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 />
|
2016-07-10 18:06:08 +00:00
|
|
|
<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 %}
|