diff options
author | Daniel Weipert <code@drogueronin.de> | 2021-12-13 15:20:16 +0100 |
---|---|---|
committer | Daniel Weipert <code@drogueronin.de> | 2022-01-10 11:29:13 +0100 |
commit | 8fb7768af3f43c524f91d80c46c99db0d88e40ab (patch) | |
tree | 1f97a6c67dcfea3c40755a3c6913f02fba38c898 /templates | |
parent | c288098b171870c87f57d4585b72339ddaf628e2 (diff) |
Fix: toml syntax
Diffstat (limited to 'templates')
-rw-r--r-- | templates/form/fields/email.toml | 5 | ||||
-rw-r--r-- | templates/form/fields/name.toml | 5 |
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 |