Return object after instantiation
Fix Form_Section so you can add classes
Make it possible to add multiple classes at once
Fix $title
Button - renamed parameter, put $title into value attribute
refs #11
clarify Button, centralize A vs INPUT logic
refs b125fab2ba
Introduce Form_Button, which can morph into <a class=btn>
fixes #11
After instantiation return object. Return object after setWidth.
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
Merge branch 'bootstrap' of github.com:SjonHortensius/pfsense into bootstrap
Replaced addSubmit by addGlobal, which will be used for hidden inputs
Group - add support for additional classes by using Element::getHtmlClassInput - if we have no columnClasses or help, don't wrap ourself in DIV
Merge pull request #15 from SanderVanLeeuwen/bootstrap
Pass checkbox value to parent constructor
correct 2 typos
Form_Input - forceName should actually use parameterfirewall_rules_edit - add Inputs to Section, not form
Initial version of converted firewall_rules_edit
Select - update name to name[] when multiple=true
Form_Select - handle selected values
Support data-toggle=disable
Checkbox - moved call to better locationSelect - use parent:: for attributesInput - add support for attributes without valuepfSense.js - implement data-toggle=disablesystem_adv_admin - set disabled state on certificate
Don't treat >name special, just put it in attr; fixes Select.id
Select - name is no longer special, use $attr and get a free IDCheckbox - make displayAsRadio return itself for chainingInput - move name to attr; plus remove support for input without $title...
Add support for sprintf to setHelp
clean - fix typo in php-end-tag cleanerInput - support sprintf parameterSelect - put option-names through gettext
Add id attribute to input elements
Fix name attr for Select, implement Checkbox::displayAsRadio
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