$model->formName(), 'enableAjaxValidation' => true, 'validationUrl' => Url::to(['role', 'id' => $id]), 'fieldConfig' => [ 'template' => "
{label}
{input}\n{hint}\n{error}
", ] ]); ?>