{% extends 'base.html' %} {% block content %}

{% block title %} {{ practice['name'] }} {% endblock %}

{% if current_user.is_authenticated %}
Edit
{% endif %}
Created: {{ practice['created'].strftime("%Y-%m-%d %H:%M") }} UTC
Description: {{ practice['description'] }}
{% if resources %}

Linked resources:

{% for resource in resources %}
{% if resource['type'] == 'tool' %}

{{ resource['name'] }}

{{ resource['description']|truncate(100) }}

{% endif %}
{% endfor %}
{% endif %} {% endblock %}