onthefly create thirdparty: use badge-entity for radio buttons label

This commit is contained in:
2021-12-10 15:37:12 +01:00
parent d7db8400d2
commit 6c28ff00ab
2 changed files with 12 additions and 20 deletions

View File

@@ -12,7 +12,7 @@
{% block crud_content_header %}
<h1>
{{ 'Update third party %name%'|trans({ '%name%': thirdParty.name }) }}
<span class="badge bg-{{ thirdParty.active ? 'success' : 'danger' }}"
<span class="badge bg-{{ thirdParty.active ? 'success' : 'danger' }} float-end"
title="{{ (thirdParty.active ? 'shown to users' : 'not shown to users')|trans }}">
{{ (thirdParty.active ? 'Active' : 'Inactive')|trans }}
</span>