Index: /main/waeup.aaue/trunk/src/waeup/aaue/students/browser.py
===================================================================
--- /main/waeup.aaue/trunk/src/waeup/aaue/students/browser.py	(revision 15821)
+++ /main/waeup.aaue/trunk/src/waeup/aaue/students/browser.py	(revision 15822)
@@ -1027,5 +1027,5 @@
         else:
             formvals = dict(zip(form['sids'], zip(
-                form['scores'], form['cas'], form['imported_tss'])))
+                form['scores'], form['cas'], form['imported_ts'])))
         for ticket in self.editable_tickets:
             ticket_error = False
@@ -1176,4 +1176,5 @@
         failed = 0
         with_ca = False
+        grade_stats = {'A':0, 'B':0, 'C':0, 'D':0, 'E':0, 'F':0, }
         for ticket in sorted_tickets:
             if ticket.ca > 0:
@@ -1183,4 +1184,6 @@
                 total = "**%s**" % ticket.imported_ts
             grade = ticket._getGradeWeightFromScore[0]
+            if grade in grade_stats.keys():
+                grade_stats[grade] += 1
             if grade in ('F', '-'):
                 failed += 1
@@ -1233,5 +1236,5 @@
                 del(ticket[5])
         return header + tickets, [
-            dep, fac, total, passed, passed_perc, failed, failed_perc]
+            dep, fac, total, passed, passed_perc, failed, failed_perc, grade_stats]
 
     def render(self):
Index: /main/waeup.aaue/trunk/src/waeup/aaue/students/browser_templates/editscorespage.pt
===================================================================
--- /main/waeup.aaue/trunk/src/waeup/aaue/students/browser_templates/editscorespage.pt	(revision 15821)
+++ /main/waeup.aaue/trunk/src/waeup/aaue/students/browser_templates/editscorespage.pt	(revision 15822)
@@ -105,5 +105,5 @@
       </td>
       <td style="width: 65px;">
-          <input type="text" name="imported_tss:list" class="form-control"
+          <input type="text" name="imported_ts:list" class="form-control"
                  tal:attributes="value ticket/imported_ts" />
       </td>
