<?php /** * @copyright Copyright © Kartik Visweswaran, Krajee.com, 2014 * @package yii2-widgets * @version 3.4.0 */ namespace kartik\widgets; /** * Extends the ActiveForm widget to handle various * bootstrap form types. * * Example(s): * ```php * // Horizontal Form * $form = ActiveForm::begin([ * 'id' => 'form-signup', * 'type' => ActiveForm::TYPE_HORIZONTAL * ]); * // Inline Form * $form = ActiveForm::begin([ * 'id' => 'form-login', * 'type' => ActiveForm::TYPE_INLINE * 'fieldConfig' => ['autoPlaceholder'=>true] * ]); * // Horizontal Form Configuration * $form = ActiveForm::begin([ * 'id' => 'form-signup', * 'type' => ActiveForm::TYPE_HORIZONTAL * 'formConfig' => ['labelSpan' => 2, 'deviceSize' => ActiveForm::SIZE_SMALL] * ]); * * @author Kartik Visweswaran <kartikv2@gmail.com> * @since 1.0 */ class ActiveForm extends \kartik\form\ActiveForm { }