From b413b6dc80a644f437d3d7ac4341c352a7c4027f Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Tue, 26 May 2015 18:57:02 +0200 Subject: [PATCH] (mvc templates) add some basic tag descriptions on default tr tags --- .../app/views/layout_partials/form_input_tr.volt | 14 ++++++++++++++ 1 file changed, 14 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 02e859c80..509f538c0 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 @@ -24,6 +24,20 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +--------------------------------------------------------------------------------------------------------------- +Handle input table row, usage the following parameters (as associative array): + +id : unique id of the attribute +label : attribute label (visible text) +size : size (width in characters) attribute if applicable +help : help text +advanced : property "is advanced", only display in advanced mode +hint : input control hint +style : css class to add +maxheight : maximum heigt in rows if applicable +width : width in pixels if applicable +allownew : allow new items (for list) if applicable + #}