{{:ModuleInclude('public/header')}}

<!-- right content start  -->
<div class="content-right">
    <div class="content">
        <!-- form start -->
        <form class="am-form form-validation am-form-popup-sticky" action="{{:MyUrl('admin/site/save')}}" method="POST" request-type="ajax-view" request-value="{{:MyUrl('admin/site/index', ['nav_type'=>'orderaftersale'])}}" enctype="multipart/form-data">
            <div class="nav-content">
                <div class="am-form-group">
                    <label>{{$data.home_order_aftersale_return_only_money_reason.name}}<span class="am-form-group-label-tips">{{$data.home_order_aftersale_return_only_money_reason.describe}}</span></label>
                    <textarea rows="6" name="{{$data.home_order_aftersale_return_only_money_reason.only_tag}}" class="am-radius" placeholder="{{$data.home_order_aftersale_return_only_money_reason.name}}" data-validation-message="{{$data.home_order_aftersale_return_only_money_reason.error_tips}}">{{if !empty($data)}}{{$data.home_order_aftersale_return_only_money_reason.value}}{{/if}}</textarea>
                </div>

                <div class="am-form-group">
                    <label>{{$data.home_order_aftersale_return_money_goods_reason.name}}<span class="am-form-group-label-tips">{{$data.home_order_aftersale_return_money_goods_reason.describe}}</span></label>
                    <textarea rows="6" name="{{$data.home_order_aftersale_return_money_goods_reason.only_tag}}" class="am-radius" placeholder="{{$data.home_order_aftersale_return_money_goods_reason.name}}" data-validation-message="{{$data.home_order_aftersale_return_money_goods_reason.error_tips}}">{{if !empty($data)}}{{$data.home_order_aftersale_return_money_goods_reason.value}}{{/if}}</textarea>
                </div>

                <div class="am-form-group">
                    <label>{{$data.home_order_aftersale_return_goods_contacts_name.name}}</label>
                    <input type="text" name="{{$data.home_order_aftersale_return_goods_contacts_name.only_tag}}" placeholder="{{$data.home_order_aftersale_return_goods_contacts_name.name}}" data-validation-message="{{$data.home_order_aftersale_return_goods_contacts_name.error_tips}}" class="am-radius" {{if !empty($data)}}value="{{$data.home_order_aftersale_return_goods_contacts_name.value}}"{{/if}} />
                </div>
                <div class="am-form-group">
                    <label>{{$data.home_order_aftersale_return_goods_contacts_tel.name}}</label>
                    <input type="text" name="{{$data.home_order_aftersale_return_goods_contacts_tel.only_tag}}" placeholder="{{$data.home_order_aftersale_return_goods_contacts_tel.name}}" data-validation-message="{{$data.home_order_aftersale_return_goods_contacts_tel.error_tips}}" class="am-radius" {{if !empty($data)}}value="{{$data.home_order_aftersale_return_goods_contacts_tel.value}}"{{/if}} />
                </div>
                <div class="am-form-group">
                    <label>{{$data.home_order_aftersale_return_goods_address.name}}</label>
                    <input type="text" name="{{$data.home_order_aftersale_return_goods_address.only_tag}}" placeholder="{{$data.home_order_aftersale_return_goods_address.name}}" data-validation-message="{{$data.home_order_aftersale_return_goods_address.error_tips}}" class="am-radius" {{if !empty($data)}}value="{{$data.home_order_aftersale_return_goods_address.value}}"{{/if}} />
                </div>

                <div class="am-form-group">
                    <label>{{$data.home_order_aftersale_is_use_warehouse_address.name}}<span class="am-form-group-label-tips">{{$data.home_order_aftersale_is_use_warehouse_address.describe}}</span></label>
                    <div class="am-radio-group">
                        {{foreach $common_is_text_list as $v}}
                            <label class="am-radio-inline">
                                <input type="radio" value="{{$v.id}}" name="{{$data.home_order_aftersale_is_use_warehouse_address.only_tag}}" data-validation-message="{{$data.home_order_aftersale_is_use_warehouse_address.error_tips}}" required {{if isset($data['home_order_aftersale_is_use_warehouse_address']['value']) and $data['home_order_aftersale_is_use_warehouse_address']['value'] eq $v['id']}}checked{{/if}} data-am-ucheck>{{$v.name}}
                            </label>
                        {{/foreach}}
                    </div>
                </div>

                <div class="am-form-group">
                    <label>{{$data.home_order_aftersale_return_launch_day.name}}<span class="am-form-group-label-tips">{{$data.home_order_aftersale_return_launch_day.describe}}</span></label>
                    <input type="number" min="0" name="{{$data.home_order_aftersale_return_launch_day.only_tag}}" placeholder="{{$data.home_order_aftersale_return_launch_day.name}}" data-validation-message="{{$data.home_order_aftersale_return_launch_day.error_tips}}" class="am-radius am-form-field" {{if !empty($data)}}value="{{$data.home_order_aftersale_return_launch_day.value}}"{{/if}} />
                </div>
            </div>

            <div class="am-form-popup-submit">
                <input type="hidden" name="nav_type" value="{{$nav_type}}" />
                <button type="submit" class="am-btn am-btn-primary am-radius am-btn-xs btn-loading-example" data-am-loading="{spinner: 'circle-o-notch', loadingText:'{{:MyLang('save_title')}}'}">
                    <i class="am-icon-save"></i>
                    <span>{{:MyLang('save_title')}}</span>
                </button>
            </div>
        </form>
        <!-- form end -->
    </div>
</div>
<!-- right content end  -->

<!-- footer start -->
{{:ModuleInclude('public/footer')}}