aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--example/db/macros/INPUT4
-rw-r--r--example/db/macros/LINPUT4
2 files changed, 4 insertions, 4 deletions
diff --git a/example/db/macros/INPUT b/example/db/macros/INPUT
index 739c332..2ba3ef0 100644
--- a/example/db/macros/INPUT
+++ b/example/db/macros/INPUT
@@ -1,2 +1,2 @@
-<!--- @INPUT(type, name, value, (checked)) --->
-<input type="$1" name="$2" value="$3"$(if $4, checked="checked") />
+<!--- @INPUT(type, name, value, (checked), (extra_attributes)) --->
+<input type="$1" name="$2" value="$3"$(if $4, checked="checked")$(if $5, $5) />
diff --git a/example/db/macros/LINPUT b/example/db/macros/LINPUT
index 1d9c85d..0ae7b93 100644
--- a/example/db/macros/LINPUT
+++ b/example/db/macros/LINPUT
@@ -1,2 +1,2 @@
-<!--- @LINPUT(type, name, value, (pre-text), (post-text), (checked)) --->
-<label>$4<input type="$1" name="$2" value="$3"$(if $6, checked="checked") />$5</label>
+<!--- @LINPUT(type, name, value, (pre-text), (post-text), (checked), (extra_attributes)) --->
+<label>$4<input type="$1" name="$2" value="$3"$(if $6, checked="checked")$(if $7, $7) />$5</label>
bues.ch cgit interface