Modified datepicker control
This commit is contained in:
@@ -5,7 +5,7 @@ note
|
||||
revision: "$Revision$"
|
||||
|
||||
class
|
||||
WSF_DATETIME_PICKER_CONTROL
|
||||
WSF_DATE_PICKER_CONTROL
|
||||
|
||||
inherit
|
||||
|
||||
@@ -31,13 +31,12 @@ create
|
||||
feature {NONE} -- Initialization
|
||||
|
||||
make (t: STRING)
|
||||
-- Make a datetime picker control with specified tag name (such as li) and menu title
|
||||
-- Make a date picker control with specified tag name (such as li) and menu title
|
||||
local
|
||||
span: WSF_MULTI_CONTROL [WSF_STATELESS_CONTROL]
|
||||
do
|
||||
make_multi_control_with_tag_name (t)
|
||||
add_class ("input-group date datepicker")
|
||||
append_attribute ("data-date=%"10-09-2013%" data-date-format=%"dd-mm-yyyy%"")
|
||||
add_class ("input-group date")
|
||||
create input.make ("10-09-2013")
|
||||
input.add_class ("form-control")
|
||||
input.append_attribute ("size=%"16%" readonly=%"%"")
|
||||
Reference in New Issue
Block a user