From 8fb7768af3f43c524f91d80c46c99db0d88e40ab Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Mon, 13 Dec 2021 15:20:16 +0100 Subject: Fix: toml syntax --- templates/form/fields/email.toml | 5 ++--- templates/form/fields/name.toml | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) (limited to 'templates/form') diff --git a/templates/form/fields/email.toml b/templates/form/fields/email.toml index 9e2626a..3ef14e8 100644 --- a/templates/form/fields/email.toml +++ b/templates/form/fields/email.toml @@ -2,7 +2,6 @@ type = "email" name = "email" placeholder = "E-Mail" -attributes = { - "data-email" = "test@example.org" -} +[attributes] +data-email = "test@example.org" diff --git a/templates/form/fields/name.toml b/templates/form/fields/name.toml index 5f45d87..5c888b6 100644 --- a/templates/form/fields/name.toml +++ b/templates/form/fields/name.toml @@ -1,7 +1,6 @@ type = "text" name = "name" -attributes = { - "data-value" = 123, -} +[attributes] +data-value = 123 -- cgit v1.2.3