{% extends "crud/form.html" %} {% from "macros/form.html" import text_input %} {% set title = 'Edit Tag' if is_update else 'Create Tag' %} {% block form_fields %} {{ text_input('name', 'Tag Name', value=tag.name if tag else '', required=true) }} {% endblock %} {% block extra_content %} {% if is_update and tag %}
Tag Information
Server Count
{{ tag.server_count }}
{% if is_global_admin_view %}
Business Unit
{{ tag.unit.title if tag.unit else 'Default' }}
{% endif %}
{% endif %} {% endblock %}