refactor attributes from Input to Element to make it a bit more generic
fixes #37, refs #21
Move attribute to Form_Element
- Removes redundant code- Adds the ability to remove attributes- Can now add attributes to Form- getHtmlAttribute() returns all attributes including class
Conflicts: usr/local/www/classes/Form/Button.class.php usr/local/www/classes/Form/Select.class.php
Add copyright headers to Form classes
Form - add setAction for adding custom _GET parameters
Introduce Form_Button, which can morph into <a class=btn>
fixes #11
Major change: require caller to specify name of inputs
no longer do we automatically determine an input-name; it meant a lot ofbackend-changes (or forceName calls). This commit fixes all occurencesexcept for firewall_rules_edit
refs #16
moved setSubmit to addGlobal, to be used for hidden inputs
fixes #10, #11
final touches on Forms
system - removed trailing unused form-htmlForm - set proper width for submit-button columnElement - support returning raw-list for InputsGroup,Input - renamed getColumnWidth to getWidthInput - make setWidth consistent with Form->setWidth, directly add...
finalized Form classes, allowed add/removeClass on all elements
+ add overloadable submit button
whitespace changes; renamed classes to Form_ prefix
New POC for generating forms through PHP classes
reduce the amount of html c/ping by keeping the amount of meta-data limited