adding functionality to comment on planned sessions and races
This commit is contained in:
47
rowers/templates/plannedsession_comments.html
Normal file
47
rowers/templates/plannedsession_comments.html
Normal file
@@ -0,0 +1,47 @@
|
||||
{% 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 %}
|
||||
Reference in New Issue
Block a user