Demo upload
This commit is contained in:
@@ -34,6 +34,7 @@ feature {NONE} -- Initialization
|
||||
make_multi_control
|
||||
tag_name := "form"
|
||||
label_width := w
|
||||
add_class ("form-horizontal")
|
||||
end
|
||||
|
||||
feature
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user