Skip to content

iaasen/stdlib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Horizontal form (bootstrap)

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
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages