summaryrefslogtreecommitdiff
path: root/templates/form
diff options
context:
space:
mode:
authorDaniel Weipert <code@drogueronin.de>2021-12-13 15:20:16 +0100
committerDaniel Weipert <code@drogueronin.de>2022-01-10 11:29:13 +0100
commit8fb7768af3f43c524f91d80c46c99db0d88e40ab (patch)
tree1f97a6c67dcfea3c40755a3c6913f02fba38c898 /templates/form
parentc288098b171870c87f57d4585b72339ddaf628e2 (diff)
Fix: toml syntax
Diffstat (limited to 'templates/form')
-rw-r--r--templates/form/fields/email.toml5
-rw-r--r--templates/form/fields/name.toml5
2 files changed, 4 insertions, 6 deletions
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