From d52b2a94cc2088fc8811b2994434ee11883c93a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C5=BEe=20Fortun?= Date: Fri, 2 Apr 2021 11:04:37 +0200 Subject: [PATCH] Add record_table template to provision --- provision/002_templates/general.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/provision/002_templates/general.yml b/provision/002_templates/general.yml index 33ed8338e..af90a392b 100644 --- a/provision/002_templates/general.yml +++ b/provision/002_templates/general.yml @@ -54,3 +54,10 @@ templates: + record_table: + type: text/html + partial: true + template: "\n \n \n \n \n \n \n \n{{range $key, $value := .values}}\n \n \n{{if $value }}\n \n{{else}}\n \n{{end}}\n \n{{end}}\n \n \n
FieldValue
{{ $key }}{{ $value }} 
\n" + meta: + short: Tablefy Record + description: Displays the provided record as a table.