diff --git a/database/vtm/view_table_renderer.anubis b/database/vtm/view_table_renderer.anubis index 67ee4e7..fbfe92f 100644 --- a/database/vtm/view_table_renderer.anubis +++ b/database/vtm/view_table_renderer.anubis @@ -71,6 +71,11 @@ public define List(CXM_Form_Field) [input_readonly(label(_T(s_name), no_help), wan(c_name), init(value), if width > 0 then custom(width) else narrow), help_line(help, _T)], text(s_name, c_name, value, help) then [input(label(_T(s_name), no_help), wan(c_name), init(value), narrow, mandatory), help_line(help, _T)], + password(s_name, c_name, help) then + [password_input(label(_T(s_name), no_help), wan(c_name+"_1"), init(""), narrow, non_mandatory), + password_input(label(_T(s_name), no_help), wan(c_name+"_2"), init(""), narrow, non_mandatory), + help_line(help, _T)], + foreign_text(s_name, c_name, value, select, help) then [selector_c([],label(_T(s_name), no_help), html_Id(""), wan(c_name), 1, select.get(db), success(init(to_String(value))), mandatory), help_line(help, _T)], choices_text(s_name, c_name, value, select, help) then @@ -81,6 +86,8 @@ public define List(CXM_Form_Field) [checkboxr([],label(_T(s_name), no_help), html_Id(""), wan(c_name), wav(c_name),value, mandatory), help_line(help, _T)], integer(s_name, c_name, value, help) then [input(label(_T(s_name), no_help), wan(c_name), init(abs_to_decimal(value)), small, mandatory), help_line(help, _T)], + choices_int(s_name, c_name, value, select, help) then + [selector_c([],label(_T(s_name), no_help), html_Id(""), wan(c_name), 1, select.get(db), success(init(to_String(value))), mandatory), help_line(help, _T)], date(s_name, c_name, value, help) then [input([class("datepicker")], label(_T(s_name), no_help), html_Id(c_name), wan(c_name), init(value), small, non_mandatory), help_line(help, _T)], time(s_name, c_name, value, help) then diff --git a/database/vtm/view_table_types.anubis b/database/vtm/view_table_types.anubis index fe5ec30..8f03aa7 100644 --- a/database/vtm/view_table_types.anubis +++ b/database/vtm/view_table_types.anubis @@ -17,11 +17,13 @@ public type VT_edit_entry: primary_key (String idx), information (String s_name, String c_name, String v_name, Int width, HK_Help_Text help), //s_name = show_name for translation, v_name = string to show text (String s_name, String c_name, String value, HK_Help_Text help), //s_name = show_name for translation, c_name = table column name + password (String s_name, String c_name, HK_Help_Text help), //s_name = show_name for translation, c_name = table column name foreign_text(String s_name, String c_name, Int selected, VT_edit_selector selector, HK_Help_Text help), choices_text(String s_name, String c_name, String selected, VT_edit_selector selector, HK_Help_Text help), text_area (String s_name, String c_name, String value, HK_Help_Text help), //s_name = show_name for translate, c_name = table column name boolean (String s_name, String c_name, Bool value, HK_Help_Text help), integer (String s_name, String c_name, Int value, HK_Help_Text help), + choices_int (String s_name, String c_name, Int selected, VT_edit_selector selector, HK_Help_Text help), date (String s_name, String c_name, String value, HK_Help_Text help), time (String s_name, String c_name, String value, HK_Help_Text help), datetime (String s_name, String c_name, String value, HK_Help_Text help). -- libgit2 0.21.4