{% extends "newbase.html" %}
{% load staticfiles %}
{% load rowerfilters %}
{% load tz %}

{% block scripts %}
{% include "monitorjobs.html" %}
{% endblock %}

{% block title %}Comment Session {% endblock %}

{% block main %}

<h1>Comments {{ plannedession.name }}</h1>
  
<ul class="main-content">
  <li class="grid_2">
    {% for c in comments %}
    <p>
      {{ c.created }}
      <b>{{ c.user.first_name }} {{ c.user.last_name }}</b>
      <div class="talk-bubble tri-right left-top">
        <div class="talktext">
          {{ c.comment }}
        </div>
      </div>
    </p>
    {% endfor %}
    <form enctype="multipart/form-data" method="post">
      <table width=100%>
        {{ form.as_table }}
      </table>
      {% csrf_token %}
      <input type="submit" value="Save">
    </form>
  </li>
</ul>

{% endblock %}

{% block sidebar %}
{% if 'racing' in active %}
{% include 'menu_racing.html' %}
{% else %}
{% include 'menu_plan.html' %}
{% endif %}
{% endblock %}
