<!-- 继承公共的 form -->
{{extend name="../../../module/view/form_table/form" /}}

<!-- 表单顶部操作栏 -->
{{block name="form_operate_top"}}
    <!-- nav start -->
    {{:ModuleInclude('public/nav_switch_tabs', [
        'nav_data'  => $nav_data,
        'nav_type'  => $nav_type,
        'url'       => 'admin/payment/index',
        'other'     => AdminIsPower('payment', 'upload'),
        'other_url' => $store_payment_url,
        'other_name'=> MyLang('payment.base_nav_store_payment_name')
    ])}}
    <!-- nav end -->

    {{if AdminIsPower('payment', 'upload')}}
        <button type="button" class="am-btn am-btn-default-plain am-btn-xs am-radius submit-popup" data-url="{{:MyUrl('admin/payment/index', ['view_type'=>'upload'])}}" data-title="{{:MyLang('payment.base_upload_payment_name')}}" data-full-max="1" data-full-max-size="xl">
            <i class="iconfont icon-upload"></i>
            <span>{{:MyLang('payment.base_upload_payment_name')}}</span>
        </button>
    {{/if}}

    <!-- 父级内容 -->
    {__block__}
{{/block}}