app/templates/projrev/proposal/review.html
author Madhusudan.C.S <madhusudancs@gmail.com>
Mon, 10 Aug 2009 02:40:50 +0530
changeset 29 425626c7f63e
parent 28 be65e84e7d03
child 30 94fe7fe7394d
permissions -rw-r--r--
Star rating completed on client side.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     1
{% extends "projrev/base.html" %}
27
37612f295cd4 Added comments for ranks and reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 26
diff changeset
     2
{% load review_helpers %}
37612f295cd4 Added comments for ranks and reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 26
diff changeset
     3
0
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     4
{% block content %}
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     5
<div class="post">
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     6
			
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     7
	<a name="TemplateInfo"></a>	
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     8
	<h1>Review the proposal</h1>
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     9
				
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    10
	<p>The proposal details are given below followed by a Review form.</p>
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    11
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    12
  <div class='review-center-box'>
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    13
    <div class='review-left'>
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    14
      Project MICR Code:
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    15
    </div>
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    16
    <div class='review-right'>
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    17
      {{ project.micr_code }}
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    18
    </div>
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    19
    <br/>
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    20
    <div class='review-left'>
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    21
      Institution:
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    22
    </div>
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    23
    <div class='review-right'>
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    24
      {{ project.institution }}
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    25
    </div>
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    26
    <br/>
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    27
    <div class='review-left'>
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    28
      Project Line Item:
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    29
    </div>
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    30
    <div class='review-right'>
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    31
      {{ project.line_item }}
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    32
    </div>
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    33
    <br/>
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    34
    <div class='review-left'>
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    35
      State:
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    36
    </div>
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    37
    <div class='review-right'>
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    38
      {{ project.state }}
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    39
    </div>
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    40
    <br/>
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    41
    <div class='review-left'>
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    42
      District:
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    43
    </div>
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    44
    <div class='review-right'>
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    45
      {{ project.district }}
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    46
    </div>
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    47
    <br/>
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    48
    <div class='review-left'>
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    49
      Proposal Document:
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    50
    </div>
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    51
    <div class='review-right'>
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    52
      <a href="/site-content/{{ proposal_path }}">{{ proposal_name }}</a>
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    53
    </div>
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    54
  </div>
28
be65e84e7d03 Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 27
diff changeset
    55
be65e84e7d03 Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 27
diff changeset
    56
0
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    57
	<form enctype="multipart/form-data" method="post" action="">			
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    58
		<p>
28
be65e84e7d03 Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 27
diff changeset
    59
      <p>
be65e84e7d03 Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 27
diff changeset
    60
      {% if form.comment.help_text %}
be65e84e7d03 Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 27
diff changeset
    61
        <script type="text/javascript">
be65e84e7d03 Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 27
diff changeset
    62
          $(document).ready( function() {
be65e84e7d03 Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 27
diff changeset
    63
            var tooltip = [
be65e84e7d03 Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 27
diff changeset
    64
            "<div class='tooltip'>",
be65e84e7d03 Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 27
diff changeset
    65
            "  <div class='tooltip-body'>",
be65e84e7d03 Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 27
diff changeset
    66
            "    <img src='/site-content/images/info.png' alt='' />",
be65e84e7d03 Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 27
diff changeset
    67
            "    <h3>Info</h3>",
be65e84e7d03 Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 27
diff changeset
    68
            "    <p>",
be65e84e7d03 Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 27
diff changeset
    69
            "      {% autoescape off %}",
be65e84e7d03 Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 27
diff changeset
    70
            "        {{ form.comment.help_text|linebreaksbr|escapejs }}",
be65e84e7d03 Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 27
diff changeset
    71
            "      {% endautoescape %}",
be65e84e7d03 Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 27
diff changeset
    72
            "    </p>",
be65e84e7d03 Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 27
diff changeset
    73
            "  </div>",
be65e84e7d03 Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 27
diff changeset
    74
            "  <div class='tooltip-bottom'></div>",
be65e84e7d03 Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 27
diff changeset
    75
            "</div>"
be65e84e7d03 Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 27
diff changeset
    76
            ].join("");
be65e84e7d03 Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 27
diff changeset
    77
be65e84e7d03 Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 27
diff changeset
    78
            var tooltip_object=null;
be65e84e7d03 Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 27
diff changeset
    79
            var documented = $("#id_{{ form.comment.name }}");
be65e84e7d03 Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 27
diff changeset
    80
            var not_fieldset = documented.attr('tagName') !== 'FIELDSET';
be65e84e7d03 Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 27
diff changeset
    81
            if (not_fieldset) {
be65e84e7d03 Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 27
diff changeset
    82
              documented.focus(function() {
be65e84e7d03 Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 27
diff changeset
    83
                if (tooltip_object==null) {
be65e84e7d03 Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 27
diff changeset
    84
                  tooltip_object = $(tooltip).purr({usingTransparentPNG: true,removeTimer: 10000});
be65e84e7d03 Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 27
diff changeset
    85
                }
be65e84e7d03 Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 27
diff changeset
    86
              });
be65e84e7d03 Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 27
diff changeset
    87
              documented.blur(function() {
be65e84e7d03 Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 27
diff changeset
    88
                if (tooltip_object!==null) {
be65e84e7d03 Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 27
diff changeset
    89
                  tooltip_object.remove();
be65e84e7d03 Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 27
diff changeset
    90
                  tooltip_object=null;
be65e84e7d03 Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 27
diff changeset
    91
                }
be65e84e7d03 Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 27
diff changeset
    92
              });
be65e84e7d03 Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 27
diff changeset
    93
            }
be65e84e7d03 Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 27
diff changeset
    94
            else {
be65e84e7d03 Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 27
diff changeset
    95
              documented.find("input").hover(function() {
be65e84e7d03 Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 27
diff changeset
    96
                if (tooltip_object==null) {
be65e84e7d03 Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 27
diff changeset
    97
                  tooltip_object = $(tooltip).purr({usingTransparentPNG: true,removeTimer: 10000});
be65e84e7d03 Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 27
diff changeset
    98
                }
be65e84e7d03 Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 27
diff changeset
    99
              },
be65e84e7d03 Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 27
diff changeset
   100
              function() {
be65e84e7d03 Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 27
diff changeset
   101
                if (tooltip_object!==null) {
be65e84e7d03 Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 27
diff changeset
   102
                  tooltip_object.remove();
be65e84e7d03 Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 27
diff changeset
   103
                  tooltip_object=null;
be65e84e7d03 Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 27
diff changeset
   104
                }
be65e84e7d03 Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 27
diff changeset
   105
              });
be65e84e7d03 Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 27
diff changeset
   106
            }
be65e84e7d03 Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 27
diff changeset
   107
          });
be65e84e7d03 Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 27
diff changeset
   108
        </script>
be65e84e7d03 Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 27
diff changeset
   109
      {% endif %}
be65e84e7d03 Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 27
diff changeset
   110
      {{ form.comment.errors }}
be65e84e7d03 Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 27
diff changeset
   111
      {{ form.comment.label_tag }}{{ form.comment }}{% if form.comment.field.required %}<span class="specialclass">&nbsp;&nbsp;(required)</span>{% endif %}
be65e84e7d03 Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 27
diff changeset
   112
      </p>
be65e84e7d03 Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 27
diff changeset
   113
      <p>
29
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   114
        {{ form.attribute1.errors }}
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   115
        {{ form.attribute1.label_tag }}
28
be65e84e7d03 Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 27
diff changeset
   116
        <input name="attribute1" type="radio" class="star"/>
be65e84e7d03 Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 27
diff changeset
   117
        <input name="attribute1" type="radio" class="star"/>
be65e84e7d03 Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 27
diff changeset
   118
        <input name="attribute1" type="radio" class="star"/>
be65e84e7d03 Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 27
diff changeset
   119
        <input name="attribute1" type="radio" class="star"/>
be65e84e7d03 Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 27
diff changeset
   120
        <input name="attribute1" type="radio" class="star"/> 
be65e84e7d03 Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 27
diff changeset
   121
        {% if form.attribute1.field.required %}<span class="specialclass">&nbsp;&nbsp;(required)</span>{% endif %}
be65e84e7d03 Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 27
diff changeset
   122
      </p>
29
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   123
      <p>
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   124
        {{ form.attribute2.errors }}
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   125
        {{ form.attribute2.label_tag }}
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   126
        <input name="attribute2" type="radio" class="star"/>
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   127
        <input name="attribute2" type="radio" class="star"/>
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   128
        <input name="attribute2" type="radio" class="star"/>
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   129
        <input name="attribute2" type="radio" class="star"/>
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   130
        <input name="attribute2" type="radio" class="star"/> 
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   131
        {% if form.attribute2.field.required %}<span class="specialclass">&nbsp;&nbsp;(required)</span>{% endif %}
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   132
      </p>
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   133
      <p>
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   134
        {{ form.attribute3.errors }}
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   135
        {{ form.attribute3.label_tag }}
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   136
        <input name="attribute3" type="radio" class="star"/>
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   137
        <input name="attribute3" type="radio" class="star"/>
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   138
        <input name="attribute3" type="radio" class="star"/>
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   139
        <input name="attribute3" type="radio" class="star"/>
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   140
        <input name="attribute3" type="radio" class="star"/> 
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   141
        {% if form.attribute3.field.required %}<span class="specialclass">&nbsp;&nbsp;(required)</span>{% endif %}
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   142
      </p>
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   143
      <p>
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   144
        {{ form.attribute4.errors }}
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   145
        {{ form.attribute4.label_tag }}
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   146
        <input name="attribute4" type="radio" class="star"/>
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   147
        <input name="attribute4" type="radio" class="star"/>
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   148
        <input name="attribute4" type="radio" class="star"/>
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   149
        <input name="attribute4" type="radio" class="star"/>
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   150
        <input name="attribute4" type="radio" class="star"/> 
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   151
        {% if form.attribute4.field.required %}<span class="specialclass">&nbsp;&nbsp;(required)</span>{% endif %}
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   152
      </p>
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   153
      <p>
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   154
        {{ form.attribute5.errors }}
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   155
        {{ form.attribute5.label_tag }}
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   156
        <input name="attribute5" type="radio" class="star"/>
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   157
        <input name="attribute5" type="radio" class="star"/>
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   158
        <input name="attribute5" type="radio" class="star"/>
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   159
        <input name="attribute5" type="radio" class="star"/>
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   160
        <input name="attribute5" type="radio" class="star"/> 
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   161
        {% if form.attribute5.field.required %}<span class="specialclass">&nbsp;&nbsp;(required)</span>{% endif %}
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   162
      </p>
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   163
      <p>
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   164
        {{ form.attribute6.errors }}
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   165
        {{ form.attribute6.label_tag }}
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   166
        <input name="attribute6" type="radio" class="star"/>
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   167
        <input name="attribute6" type="radio" class="star"/>
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   168
        <input name="attribute6" type="radio" class="star"/>
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   169
        <input name="attribute6" type="radio" class="star"/>
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   170
        <input name="attribute6" type="radio" class="star"/> 
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   171
        {% if form.attribute6.field.required %}<span class="specialclass">&nbsp;&nbsp;(required)</span>{% endif %}
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   172
      </p>
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   173
      <p>
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   174
        {{ form.attribute7.errors }}
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   175
        {{ form.attribute7.label_tag }}
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   176
        <input name="attribute7" type="radio" class="star"/>
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   177
        <input name="attribute7" type="radio" class="star"/>
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   178
        <input name="attribute7" type="radio" class="star"/>
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   179
        <input name="attribute7" type="radio" class="star"/>
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   180
        <input name="attribute7" type="radio" class="star"/> 
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   181
        {% if form.attribute7.field.required %}<span class="specialclass">&nbsp;&nbsp;(required)</span>{% endif %}
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   182
      </p>
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   183
      <p>
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   184
        {{ form.attribute8.errors }}
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   185
        {{ form.attribute8.label_tag }}
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   186
        <input name="attribute8" type="radio" class="star"/>
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   187
        <input name="attribute8" type="radio" class="star"/>
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   188
        <input name="attribute8" type="radio" class="star"/>
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   189
        <input name="attribute8" type="radio" class="star"/>
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   190
        <input name="attribute8" type="radio" class="star"/> 
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   191
        {% if form.attribute8.field.required %}<span class="specialclass">&nbsp;&nbsp;(required)</span>{% endif %}
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   192
      </p>
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   193
      <p>
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   194
        {{ form.attribute9.errors }}
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   195
        {{ form.attribute9.label_tag }}
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   196
        <input name="attribute9" type="radio" class="star"/>
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   197
        <input name="attribute9" type="radio" class="star"/>
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   198
        <input name="attribute9" type="radio" class="star"/>
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   199
        <input name="attribute9" type="radio" class="star"/>
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   200
        <input name="attribute9" type="radio" class="star"/> 
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   201
        {% if form.attribute9.field.required %}<span class="specialclass">&nbsp;&nbsp;(required)</span>{% endif %}
425626c7f63e Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 28
diff changeset
   202
      </p>
0
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   203
		<br />	
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   204
		<input class="button" type="submit" value="Submit Review" />		
14
9d720dfded68 Footer for reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 0
diff changeset
   205
		</p>
0
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   206
	</form>
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   207
				
14
9d720dfded68 Footer for reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 0
diff changeset
   208
	 <p class="post-footer align-right">
9d720dfded68 Footer for reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 0
diff changeset
   209
    <span class="comments">Reviews:
9d720dfded68 Footer for reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 0
diff changeset
   210
    {% if nr_reviews %}
9d720dfded68 Footer for reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 0
diff changeset
   211
      {{ nr_reviews }}
9d720dfded68 Footer for reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 0
diff changeset
   212
    {% else %}
9d720dfded68 Footer for reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 0
diff changeset
   213
      (<i>None</i>)
9d720dfded68 Footer for reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 0
diff changeset
   214
    {% endif %}
9d720dfded68 Footer for reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 0
diff changeset
   215
    </span>
9d720dfded68 Footer for reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 0
diff changeset
   216
    <span class="date">Last reviewed:
9d720dfded68 Footer for reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 0
diff changeset
   217
    {% if last_reviewed %}
9d720dfded68 Footer for reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 0
diff changeset
   218
      {{ last_reviewed|date:"jS F Y h:iA" }}
9d720dfded68 Footer for reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 0
diff changeset
   219
    {% else %}
9d720dfded68 Footer for reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 0
diff changeset
   220
      (<i>Not Reviewed</i>)
9d720dfded68 Footer for reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 0
diff changeset
   221
    {% endif %}
9d720dfded68 Footer for reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 0
diff changeset
   222
    </span>
9d720dfded68 Footer for reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 0
diff changeset
   223
    <span class="date">Last submitted:
9d720dfded68 Footer for reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 0
diff changeset
   224
    {% if last_submitted %}
9d720dfded68 Footer for reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 0
diff changeset
   225
      {{ last_submitted|date:"jS F Y h:iA" }}
9d720dfded68 Footer for reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 0
diff changeset
   226
    {% else %}
9d720dfded68 Footer for reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 0
diff changeset
   227
      (<i>New Submission</i>)
9d720dfded68 Footer for reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 0
diff changeset
   228
    {% endif %} 
9d720dfded68 Footer for reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 0
diff changeset
   229
    </span> 
9d720dfded68 Footer for reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 0
diff changeset
   230
  </p>
26
97bd3c28c957 Renamed Comments to Reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 14
diff changeset
   231
  {% if reviews %}
27
37612f295cd4 Added comments for ranks and reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 26
diff changeset
   232
  <br /><br />
37612f295cd4 Added comments for ranks and reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 26
diff changeset
   233
  <p>
37612f295cd4 Added comments for ranks and reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 26
diff changeset
   234
  <h2>Reviews: Comments and Scores:</h2>
26
97bd3c28c957 Renamed Comments to Reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 14
diff changeset
   235
	{% for review in reviews %}
97bd3c28c957 Renamed Comments to Reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 14
diff changeset
   236
	  {% as_review review %}
97bd3c28c957 Renamed Comments to Reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 14
diff changeset
   237
	{% endfor %}
27
37612f295cd4 Added comments for ranks and reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 26
diff changeset
   238
	</p>
26
97bd3c28c957 Renamed Comments to Reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 14
diff changeset
   239
	{% endif %}
0
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   240
</div>
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   241
{% endblock content %}