{% if event and event.is_added_favorite %}
{% include "motion/assets/body/favorite.html" %}
{% else %}
{# Asset body is determined by the type of asset #}
{% withblock %}motion/assets/body/{{ entry.type_id }}.html{% as template_name %}
{% include template_name %}
{% endwithblock %}
{% endif %}