summaryrefslogtreecommitdiff
path: root/templates/form
diff options
context:
space:
mode:
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