hazelnut expects the initial columns to be passed to its constructor
[myslice.git] / plugins / hazelnut / hazelnut.html
index f3b3573..196a387 100644 (file)
@@ -1,6 +1,6 @@
 <table class='display' id='hazelnut-{{ domid }}'>
-<thead><tr> {% for subject_field in subject_fields %}
-<th>{{ subject_field }}</th>{% endfor %} {% if checkboxes %}<th>+/-</th>{% endif %}
+<thead><tr> {% for column in columns %}
+<th>{{ column }}</th>{% endfor %} {% if checkboxes %}<th>+/-</th>{% endif %}
 </tr></thead>
 <tbody>
 </tbody>