-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
status: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtopic: UI/UXUser interface or user experience related workUser interface or user experience related worktype: housekeepingChanges to the application which do not directly impact the end userChanges to the application which do not directly impact the end user
Milestone
Description
Proposed Changes
Replace all instances of template code which explicitly embeds an HTMX table with the new htmx_table tag. For instance,
<div class="card-body htmx-container table-responsive"
hx-get="{% url 'circuits:provideraccount_list' %}?provider_id={{ object.pk }}"
hx-trigger="load"
></div>
becomes
{% htmx_table 'circuits:provideraccount_list' provider_id=object.pk %}
Justification
The htmx_table tag was introduced under #12538 to standardize and simplify our approach for embedding HTMX-backed object tables. Among other benefits, this ensures that the return_url parameter is passed correctly for every embedded table.
stavr666
Metadata
Metadata
Assignees
Labels
status: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtopic: UI/UXUser interface or user experience related workUser interface or user experience related worktype: housekeepingChanges to the application which do not directly impact the end userChanges to the application which do not directly impact the end user