{% extends "base.html" %} {% from "components/ui.html" import page_header %} {% block content %} {% set breadcrumbs = [ {'text': _('Admin'), 'url': url_for('admin.admin_dashboard')}, {'text': _('Link Templates'), 'url': url_for('link_templates.list_link_templates')}, {'text': _('Edit') if template else _('Create')} ] %} {{ page_header( icon_class='fas fa-link', title_text=_('Edit Link Template') if template else _('Create Link Template'), subtitle_text=_('Configure URL template for client custom fields'), breadcrumbs=breadcrumbs ) }}

{{ _('A descriptive name for this link template') }}

{{ _('URL with {value} or %value% placeholder. Examples: https://erp.example.com/customer/{value} or https://erp.example.com/customer/%value%') }}

{{ _('The key in the client custom_fields JSON to use') }}

{{ _('Font Awesome icon class (e.g., fas fa-link)') }}

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

{{ _('Only active templates are shown on client pages') }}

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