12 lines
709 B
HTML
Executable File
12 lines
709 B
HTML
Executable File
<!-- 性别 开始 -->
|
|
<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')}}</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>
|
|
<!-- 性别 结束 --> |