From 24a2c0a5cfe855b025e20a756c8269af0e0205ea Mon Sep 17 00:00:00 2001 From: Ozzie Isaacs Date: Sun, 17 Oct 2021 14:11:52 +0200 Subject: [PATCH] Enable edit of custom text in book table --- cps/templates/book_table.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cps/templates/book_table.html b/cps/templates/book_table.html index b565ec75..9d5a448a 100644 --- a/cps/templates/book_table.html +++ b/cps/templates/book_table.html @@ -68,6 +68,10 @@ {{c.name}} {% elif c.datatype == "enumeration" %} {{c.name}} + {% elif c.datatype in ["bool", "datetime", "comments"] %} + + {% elif c.datatype == "text" and not c.is_multiple %} + {{ text_table_row('custom_column_' + c.id|string, _('Enter ') + c.name, c.name, false, false) }} {% else %} {% endif %}