{{include file="public/header" /}}
{{:ModuleInclude('public/admin_nav', [ 'title' => MyLang('role.base_nav_title').(empty($data['id']) ? MyLang('created_title') : MyLang('edit_title')), 'back_url' => MyUrl('admin/role/index', $params) ])}}
{{include file="lib/is_enable" /}} {{:ModuleInclude('public/nav_switch_btn', [ 'nav_data' => [ [ 'name' => MyLang('common_service.role.form_item_menu'), 'key' => 'role-form-item-menu', ], [ 'name' => MyLang('common_service.role.form_item_plugins'), 'key' => 'role-form-item-plugins', ] ] ])}} {{if isset($shopxo_is_develop) and $shopxo_is_develop eq true}}
plugins_view_admin_role_save
{{/if}} {{if !empty($plugins_view_admin_role_save_data) and is_array($plugins_view_admin_role_save_data)}}
{{foreach $plugins_view_admin_role_save_data as $hook}} {{if is_string($hook) or is_int($hook)}} {{$hook|raw}} {{/if}} {{/foreach}}
{{/if}}
{{include file="public/footer" /}}