diff --git a/calexium_lib/web/CXM_dojo.anubis b/calexium_lib/web/CXM_dojo.anubis
index cc675b5..22a967c 100644
--- a/calexium_lib/web/CXM_dojo.anubis
+++ b/calexium_lib/web/CXM_dojo.anubis
@@ -67,23 +67,30 @@ public define HTML_Off_Form
")
.
+public type Input_Type:
+ file,
+ text,
+ password.
+
public type InputDial:
- input_dial(String id, Bool file, String label).
+ input_dial(String id, Input_Type input_type, String label).
define HTML_Row(HTML_Off_Form)
input_in_dialog
(
InputDial input_data
)=
- if input_data is input_dial(id, file, label) then
+ if input_data is input_dial(id, input, label) then
row([], [cell([], sequence([
literal(""),
literal("")
+ if input is
+ {
+ file then "type=\"file\"",
+ text then "type=\"text\"",
+ password then "type=\"password\""
+ } +
+ " name=\""+id+"\" id=\""+id+"\" />")
]))]).
define List(HTML_Row(HTML_Off_Form))
--
libgit2 0.21.4