iaasen/stdlib

An adaption to Laminas framework

1.0.0 2017-10-04 16:00 UTC

This package is auto-updated.

Last update: 2024-04-15 16:50:49 UTC


README

This function requires the TwbsHelper module to be added. See neilime/twbs-helper-module

Add to the view where the form is used

$this->formCollection()->setElementHelper($this->formRowHorizontal());
$form->prepare();
echo $this->form()->openTag($form);
echo $this->formCollection($form);
echo $this->form()->closeTag();

Replace a view helper in current view

$this->getHelperPluginManager()->setService('formRow', $this->formRowHorizontal());

Format select in bootstrap v3

Add to less-template:
select.form-select {
	.form-control
}