Ggongfuxiangv6.2.0
83641a9a创建于 2024年7月3日历史提交
<!-- 性别 开始 -->
<div class="am-form-group {{if !empty($module_data) and isset($module_data['is_row']) and $module_data['is_row'] eq 1}}row{{/if}}">
	<label class="am-block">{{:MyLang('form_gender_title')}}<span class="am-form-group-label-tips-must">*</span></label>
	<div class="am-radio-group">
		{{foreach :MyConst('common_gender_list') as $v}}
			<label class="am-radio-inline am-margin-right-sm">
				<input type="radio" name="gender" value="{{$v.id}}" {{if isset($data['gender']) and $data['gender'] eq $v['id']}}checked="checked"{{else /}}{{if !isset($data['gender']) and isset($v['checked']) and $v['checked'] eq true}}checked="checked"{{/if}}{{/if}} data-am-ucheck /> {{$v.name}}
			</label>
		{{/foreach}}
	</div>
</div>
<!-- 性别 结束 -->