From eb7ecc63e7ea4f13cae064de5b8be26fc75b3fa0 Mon Sep 17 00:00:00 2001 From: candifloss Date: Mon, 7 Apr 2025 12:33:09 +0530 Subject: [PATCH] Fix: Editable primary key in CSV preview The primary key can no longer be edited in the CSV preview --- templates/csv_preview.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/templates/csv_preview.html b/templates/csv_preview.html index 5f66592..99666c9 100644 --- a/templates/csv_preview.html +++ b/templates/csv_preview.html @@ -64,8 +64,11 @@ {% for entry in entries %} {% for attrib in item_attributes %} - + {{ entry[attrib.attrib_name] }} + {% if attrib.primary and editable %} + + {% endif %} {% endfor %}