<!-- 操作栏 -->
{{if AdminIsPower('forminput', 'detail')}}
    <button type="button" class="am-btn am-btn-default am-btn-xs am-radius am-btn-block submit-popup" data-url="{{:MyUrl('admin/forminput/detail', ['id'=>$module_data['id']])}}" data-title="{{:MyLang('detail_title')}}">
        <i class="am-icon-eye"></i>
        <span>{{:MyLang('detail_title')}}</span>
    </button>
{{/if}}
{{if AdminIsPower('forminput', 'preview')}}
    <button type="button" class="am-btn am-btn-default am-btn-xs am-radius am-btn-block submit-popup" data-url="{{:MyUrl('admin/forminput/preview', ['id'=>$module_data['id']])}}" data-offcanvas="right" data-title="{{:MyLang('preview_title')}}">
        <i class="am-icon-eye"></i>
        <span>{{:MyLang('preview_title')}}</span>
    </button>
{{/if}}
{{if AdminIsPower('forminput', 'storeuploadinfo')}}
    {{if isset($shopxo_is_develop) and $shopxo_is_develop eq true}}
        <button type="button" class="am-btn am-btn-default am-btn-xs am-radius am-btn-block submit-popup" data-url="{{:MyUrl('admin/forminput/storeuploadinfo', ['id'=>$module_data['id']])}}" data-title="{{:MyLang('upload_title')}}">
            <i class="am-icon-upload"></i>
            <span>{{:MyLang('upload_title')}}</span>
        </button>
    {{/if}}
{{/if}}
{{if AdminIsPower('forminput', 'download')}}
    <a class="am-btn am-btn-success am-btn-xs am-radius am-btn-block" href="{{:MyUrl('admin/forminput/download', array_merge($form_back_params, ['id'=>$module_data['id']]))}}" target="_blank">
        <i class="am-icon-download"></i>
        <span>{{:MyLang('download_title')}}</span>
    </a>
{{/if}}
{{if AdminIsPower('forminputdata', 'index')}}
    <button type="button" class="am-btn am-btn-default am-btn-xs am-radius am-btn-block submit-popup" data-url="{{:MyUrl('admin/forminputdata/index', ['fid'=>$module_data['id']])}}" data-offcanvas="right" data-title="{{:MyLang('data_title')}}">
        <i class="am-icon-eye"></i>
        <span>{{:MyLang('data_title')}}</span>
    </button>
{{/if}}
{{if AdminIsPower('forminput', 'saveinfo')}}
    <a class="am-btn am-btn-secondary am-btn-xs am-radius am-btn-block" href="{{:MyUrl('admin/forminput/saveinfo', array_merge($form_back_params, ['id'=>$module_data['id']]))}}" target="_blank">
        <i class="am-icon-edit"></i>
        <span>{{:MyLang('edit_title')}}</span>
    </a>
{{/if}}
{{if AdminIsPower('forminput', 'delete')}}
    <button type="button" class="am-btn am-btn-danger am-btn-xs am-radius am-btn-block submit-delete" data-url="{{:MyUrl('admin/forminput/delete')}}" data-id="{{$module_data.id}}" data-key="ids">
        <i class="iconfont icon-delete"></i>
        <span>{{:MyLang('delete_title')}}</span>
    </button>
{{/if}}