{% extends "base.html" %} {% from "components/ui.html" import page_header %} {% block content %} {% set breadcrumbs = [ {'text': _('Admin'), 'url': url_for('admin.admin_dashboard')}, {'text': _('Custom Field Definitions'), 'url': url_for('custom_field_definitions.list_custom_field_definitions')}, {'text': _('Edit') if definition else _('Create')} ] %} {{ page_header( icon_class='fas fa-tags', title_text=_('Edit Custom Field Definition') if definition else _('Create Custom Field Definition'), subtitle_text=_('Define a global custom field that can be used across all clients'), breadcrumbs=breadcrumbs ) }}

{{ _('Unique identifier for this field (letters, numbers, and underscores only). Cannot be changed after creation.') }}

{{ _('Display name shown in client forms') }}

{{ _('Lower numbers appear first') }}

{{ _('Required field - clients must fill this in') }}

{{ _('Only active fields are shown in client forms') }}

{{ _('Cancel') }}
{% endblock %}