#19002: Display boolean attributes as checkmarks (#19168)

This commit is contained in:
Jeremy Stretch
2025-04-14 08:57:15 -04:00
committed by GitHub
parent d55f02b25f
commit 3444dc503d

View File

@@ -75,7 +75,13 @@
{% for k, v in object.attributes.items %}
<tr>
<th scope="row">{{ k }}</th>
<td>{{ v|placeholder }}</td>
<td>
{% if v is True or v is False %}
{% checkmark v %}
{% else %}
{{ v|placeholder }}
{% endif %}
</td>
</tr>
{% endfor %}
</table>