From faf5b10e56116a8606d78006a5e3e65641fe494d Mon Sep 17 00:00:00 2001 From: Yaro Kasear Date: Wed, 27 Aug 2025 16:11:06 -0500 Subject: [PATCH] Fixes to rows, add pager. Makes for more reliable table behavior under CRUDKit. --- crudkit/html/templates/crudkit/_macros.html | 18 ++++++++---------- crudkit/html/templates/crudkit/pager.html | 2 ++ crudkit/html/templates/crudkit/rows.html | 1 - crudkit/html/ui_fragments.py | 7 ++++++- 4 files changed, 16 insertions(+), 12 deletions(-) create mode 100644 crudkit/html/templates/crudkit/pager.html diff --git a/crudkit/html/templates/crudkit/_macros.html b/crudkit/html/templates/crudkit/_macros.html index f713e81..1bcdfd4 100644 --- a/crudkit/html/templates/crudkit/_macros.html +++ b/crudkit/html/templates/crudkit/_macros.html @@ -31,17 +31,15 @@ {%- endfor -%} {%- endmacro %} -{% macro pager(model, page, pages, per_page, sort, filters) -%} -