Wallogit.com
2017 © Pedro Peláez
A utility that makes building a form ridiculously easy., (*1)
None, (*2)
In the root of a pails app, run, (*3)
pails install form_builder
Inside any controller where you want to make use of the form builder,
use the FormBuilder trait., (*4)
class DefaultController extends Pails\Controller
{
use PailsAuthentication;
}
Then, in the relevant views, you can call $this->input_for(), (*5)
name of the form elementselect list, with optionsnumber input type (with options, multiple)title attribute, provides
additional information about the inputvalue and
the value is the text that should be displayed for that optionpails-form-builder is a core plugin supported by Synapse Software. Contact us at support@synapsesoftware.com., (*6)