bornhack-website/villages/templates/village_detail.html

21 lines
526 B
HTML
Raw Normal View History

2016-07-05 21:43:18 +00:00
{% extends 'base.html' %}
{% load commonmark %}
{% block title %}
Village: {{ village.name }} | {{ block.super }}
{% endblock %}
2016-07-05 21:43:18 +00:00
{% block content %}
<h3>{{ village.name }}</h3>
{{ 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 %}