<!-- 操作栏 -->
{{if AdminIsPower('attachment', 'detail')}}
    <button type="button" class="am-btn am-btn-default am-btn-xs am-radius am-btn-block submit-popup" data-url="{{:MyUrl('admin/attachment/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('attachment', 'saveinfo')}}
    <button type="button" class="am-btn am-btn-secondary am-btn-xs am-radius am-btn-block submit-modal" data-url="{{:MyUrl('admin/attachment/saveinfo', ['id'=>$module_data['id']])}}" data-title="{{:MyLang('edit_title')}}" data-width="400" data-height="250">
        <i class="am-icon-edit"></i>
        <span>{{:MyLang('edit_title')}}</span>
    </button>
{{/if}}
{{if AdminIsPower('attachment', 'delete')}}
    <button type="button" class="am-btn am-btn-danger am-btn-xs am-radius am-btn-block submit-delete" data-url="{{:MyUrl('admin/attachment/delete')}}" data-id="{{$module_data.id}}" data-key="ids">
        <i class="iconfont icon-delete"></i>
        <span>{{:MyLang('delete_title')}}</span>
    </button>
{{/if}}