Demo upload

This commit is contained in:
YNH Webdev
2014-01-01 20:41:28 +01:00
parent 29356c0b61
commit d9c837918b
7 changed files with 113 additions and 41 deletions

View File

@@ -34,6 +34,7 @@ feature {NONE} -- Initialization
make_multi_control
tag_name := "form"
label_width := w
add_class ("form-horizontal")
end
feature

View File

@@ -36,12 +36,13 @@ feature {NONE} -- Initialization
do
make_control ("div")
add_class ("form-group")
if attached {WSF_HTML_CONTROL} c then
c.add_class ("form-control-static")
elseif not attached {WSF_VALUE_CONTROL [LIST[ANY]]} c then
if not attached {WSF_VALUE_CONTROL [LIST[ANY]]} c then
c.add_class ("form-control")
else
c.add_class ("form-control-static")
end
label_width := 2
value_control := c
validators := v