-
-
- type = '1';
- echo $form->field ($model, 'type',['options'=> ['class'=>'check-radio-wr']])
- ->label (false)
- ->radioList (
- [1 => 'Частное лицо', 2 => 'Компания'],
- [
- 'item' => function($index, $label, $name, $checked, $value) {
- $return = '
';
- return $return;
- }
- ]
- );
- ?>
-
+
+ type = '1';
+ echo $form->field ($model, 'type',['options'=> ['class'=>'check-radio-wr']])
+ ->label (false)
+ ->radioList (
+ [1 => 'Частное лицо', 2 => 'Компания'],
+ [
+ 'item' => function($index, $label, $name, $checked, $value) {
+ $return = '
';
+ $return .= '';
+ $return .= '';
+ $return .= '
';
+ return $return;
+ }
+ ]
+ );
+ ?>
+
= $form->field($model, 'is_freelancer', [ 'template' => "{input}\n{label}\n{error}" , 'options'=>['class'=>'custom-form-buttons'] ])
@@ -87,7 +86,7 @@