$form = ActiveForm::begin([
'action' => 'site/subscribe',
...
]);
$model = new ModelName();
$form->field($model, 'attribute')->textInput()
// в контролере
public $var
$var = new ModelName();
// в layout
$model = $this->context->var
$form->field($model, 'attribute')->textInput();