Author:    {{protocol_items.author}}
Rating:    {{protocol_items.rating}}
Publication:    {{protocol_items.date_of_upload}}
Updated:    {{protocol_items.date_modified}}
{% if protocol_items.description %}
Description:
{{protocol_items.description}}
{% endif %}
Protocol Type: {{protocol_items.protocol_type}}
Reagents:
{{protocol_items.reagents|linebreaksbr}}
Protocol Steps:
{{steps|linebreaksbr}}
{% if not user.is_authenticated %}
Sign up or login to rate and comment this protocol!
{% endif %}
{% if user.is_authenticated %}
{% if current_user not in protocol_items.user_rated %}
{# This is a quick fix, change it later. Find a list field in Django #}
Rate this protocol (1 - 5):
{% endif %}
{% endif %}
Comments
{% get_comment_form for protocol_items as form %}
{% render_comment_list for protocol_items %}
{% if user.is_authenticated %}
{% get_comment_form for protocol_items as form %}