|
@@ -56,7 +56,7 @@ class UserCert extends AuthController
|
|
|
}
|
|
|
$f = array();
|
|
|
$f[] = Form::input('name', '姓名', (string)$info['name'])->required();
|
|
|
- $f[] = Form::frameImageOne('photo', '照片', Url::buildUrl('admin/widget.images/index', array('fodder' => 'image')), (string)$info['photo'])->required();
|
|
|
+ $f[] = Form::frameImageOne('photo', '照片', Url::buildUrl('admin/widget.images/index', array('fodder' => 'image')), $info['photo']);
|
|
|
$f[] = Form::radio('gender', '状态', (string)$info['gender'])->setOptions([['value' => '0', 'label' => '男'], ['value' => '1', 'label' => '女']]);
|
|
|
$f[] = Form::input('idcard', '身份证号码', (string)$info['idcard'])->required();
|
|
|
$f[] = Form::input('job', '职业', (string)$info['job'])->required();
|