Use yes/no formatter in more places

This commit is contained in:
Chris Hill-Scott
2021-10-15 09:18:54 +01:00
parent af64da8f82
commit 4a57cf0f0d
2 changed files with 2 additions and 2 deletions

View File

@@ -331,7 +331,7 @@
{% call row() %}
{{ text_field('Count in list of live services')}}
{{ text_field('Yes' if current_service.count_as_live else 'No') }}
{{ text_field(current_service.count_as_live|format_yes_no) }}
{{ edit_field('Change', url_for('.service_switch_count_as_live', service_id=current_service.id), suffix='if service is counted in list of live services') }}
{% endcall %}
{% call row() %}