@@ -55,12 +55,17 @@
<th>Label</th>
</tr>
</thead>
- {% for value, label in object.choices %}
+ {% for value, label in object.choices|slice:":50" %}
<tr>
<td>{{ value }}</td>
<td>{{ label }}</td>
{% endfor %}
+ {% if object.choices|length > 50 %}
+ <tr>
+ <td colspan="2" class="text-muted">(Additional choices not displayed)</td>
+ </tr>
+ {% endif %}
</table>
</div>