2016-07-05 21:43:18 +00:00
|
|
|
{% extends 'base.html' %}
|
|
|
|
{% load commonmark %}
|
|
|
|
|
2016-07-11 12:36:21 +00:00
|
|
|
{% block title %}
|
|
|
|
Village: {{ village.name }} | {{ block.super }}
|
|
|
|
{% endblock %}
|
|
|
|
|
2016-07-05 21:43:18 +00:00
|
|
|
{% block content %}
|
|
|
|
|
|
|
|
<h3>{{ village.name }}</h3>
|
|
|
|
|
2016-08-15 07:22:48 +00:00
|
|
|
{{ village.description|unsafecommonmark }}
|
2016-07-05 21:43:18 +00:00
|
|
|
|
2016-07-05 21:47:08 +00:00
|
|
|
{% if user == village.contact %}
|
2016-07-10 21:14:57 +00:00
|
|
|
<hr />
|
2016-12-28 23:15:13 +00:00
|
|
|
<a href="{% url 'village_update' camp_slug=village.camp.slug slug=village.slug %}" class="btn btn-primary">Edit</a>
|
|
|
|
<a href="{% url 'village_delete' camp_slug=village.camp.slug slug=village.slug %}" class="btn btn-danger">Delete</a>
|
2016-07-05 21:43:18 +00:00
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% endblock %}
|