{% if accommodation.wiki_content %}
{{ accommodation.wiki_content|force_escape|urlize|markdown }}
{% else %}
{% if not user.is_anonymous %}
We don't have a description for this accommodation yet, care to help?
{% endif %}
{% endif %}
{% call "_star_rating.html" with entity=accommodation %}
Comments
{% if not user.is_anonymous %}
{% endif %}
{% for comment in accommodation.accommodationcomment_set.all %}
{{ comment.user.username }}
said on {{ comment.date_added|date }}:
{% ifequal comment.user user %}(delete){% endifequal %}
{{ comment.content|markdown:"safe" }}
{% empty %}
No user comments yet!
{% endfor %}
{% if accommodation.wiki_content and not user.is_anonymous %}
Edit
{% endif %}