{% extends '@OxHoardBundle//layout.html.twig' %}
{% block title %}{{ entity.title }}{% endblock %}
{% block body %}
<div class="marginTop clearfix"></div>
<div id="content" class="container">
<div class="row marginTop">
<div class="hoardlistview-6col col-md-12">
<h1>{{ entity.title }}</h1>
<div class="image">
<img href = "{{ entity.image}}"/>
</div>
<div class="body">
{{ entity.body | markdown }}
</div>
{% if is_authorised_to_edit %}
<ul class="record_actions">
<li>
<a href="{{ path('content') }}">
Back to the list
</a>
</li>
<li>
<a href="{{ path('content_edit', { 'id': entity.id }) }}">
Edit
</a>
</li>
</ul>
{% endif %}
</div>
</div>
</div>
{% endblock %}