From 0c35ffbb8dd70bb332cd1a9e884dfce0450a9456 Mon Sep 17 00:00:00 2001 From: stilez Date: Mon, 11 Nov 2019 20:36:37 +0000 Subject: [PATCH] Add "type" field to self-doc. SPlit from PR#3812 (#3813) --- .../mvc/app/views/layout_partials/form_input_tr.volt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/opnsense/mvc/app/views/layout_partials/form_input_tr.volt b/src/opnsense/mvc/app/views/layout_partials/form_input_tr.volt index 134e1e210..2c0d42d17 100644 --- a/src/opnsense/mvc/app/views/layout_partials/form_input_tr.volt +++ b/src/opnsense/mvc/app/views/layout_partials/form_input_tr.volt @@ -28,6 +28,15 @@ # Handle input table row, usage the following parameters (as associative array): # # id : unique id of the attribute + # type : type of input or field. Valid types are: + # text single line of text + # password password field for sensitive input. The contents will not be displayed. + # textbox multiline text box + # checkbox checkbox + # dropdown single item selection from dropdown + # select_multiple multiple item select from dropdown + # hidden hidden fields not for user interaction + # info static text (help icon, no input or editing) # label : attribute label (visible text) # size : size (width in characters) attribute if applicable # height : height (length in characters) attribute if applicable