diff --git a/schoolapps/timetable/templates/timetable/hintform.html b/schoolapps/timetable/templates/timetable/hintform.html
index 58c5aaf00d7cef0525b14525dbec1271a382f6c7..ca3befc5a41c5edd9db85f084ac7291614867660 100755
--- a/schoolapps/timetable/templates/timetable/hintform.html
+++ b/schoolapps/timetable/templates/timetable/hintform.html
@@ -77,6 +77,17 @@
         {% endif %}
         {{ form.classes.label_tag }}
         {{ form.classes }}
+        <a href="#" id="select-all-classes">Alle auswählen</a>
+        ·
+        <a href="#" id="deselect-all-classes">Alle abwählen</a>
+        <script type="text/javascript">
+            $("#select-all-classes").click(function () {
+                $(".select-wrapper ul li:not(.selected)").click();
+            })
+            $("#deselect-all-classes").click(function () {
+                $(".select-wrapper ul li.selected").click();
+            })
+        </script>
 
         {% if form.teachers.errors %}
             <div class="alert error">