{% extends "base.html" %} {% block title %}Contact - {{ person_id }} - {{ person.name }}{% endblock %} {% block content %}

HTMX PATTERNS - BOOSTED

Contact - {{ person_id }}

{% if person is not none %}

{{ person.name.upper() }} - {{ person.phone_number }}

{% else %}

Person not found

{% endif %} {% macro link(id, text, boosted=false) -%} {{ text }} {%- endmacro %}

Boosted Links

{{ link(prev_id, 'Previous', boosted=True) }} {{ link(next_id, 'Next', boosted=True) }}

Normal Links

{{ link(prev_id, 'Previous', boosted=False) }} {{ link(next_id, 'Next', boosted=False) }}
{% endblock %}