<!-- BEGIN CONTENT -->
<div class="page-content-wrapper">
    <div class="page-content">
        <!-- BEGIN PAGE HEADER-->
        <h3 class="page-title">
            {$shcontrollname}
        </h3>
        <div class="page-bar">
            <ul class="page-breadcrumb">
                {$breadcrumbs}
            </ul>
        </div>
        <!-- END PAGE HEADER-->
        <!-- BEGIN PAGE CONTENT-->
        <div class="row">
            <div class="col-md-12">
                <div class="portlet light bg-inverse">
                    <div class="portlet-title">
                        <div class="caption">
                            <i class="icon-equalizer font-red-sunglo"></i>
                            <span class="caption-subject font-red-sunglo bold uppercase">العرض فى {$shcontrollname}</span>
                        </div>
                        <div class="actions" id="nestable_list_menu">


                            <a class="btn default btn-xs blue tooltips" href="{$hosturl}/{$controllname}" data-container="body" data-placement="top" data-original-title="اضافه جديد">
                                <i class="fa  fa-plus"></i>
                                اضافه جديد
                            </a>

                        </div>
                    </div>
                    <div class="portlet-body form">

                        <table class="table table-hover">
                            <thead>
                                <tr>
                                    <th>
                                        اسم المجموعه
                                    </th>
                                    <th width="5%"></th>
                                    <th width="5%"></th>
                                    <th width="5%"></th>
                                </tr>
                            </thead>
                            <tbody>
                                {foreach $roles as $single}
                                <tr class="odd gradeX">
                                    <td>
                                        {$single->name}
                                    </td>
                                    <td>
                                        <a href="{$hosturl}/{$controllname}/setting/{$single->id}" class="btn red-sunglo btn-xs"><i class="fa fa-gears"></i> الاعدادات</a>
                                    </td>
                                    <td>
                                        <a href="{$hosturl}/{$controllname}/edit/{$single->id}" class="btn blue-hoki btn-xs"><i class="fa fa-pencil"></i> تعديل</a>
                                    </td>
                                    <td>
                                        {if $single->id neq 1}
                                        <a class="btn grey-cascade btn-xs deletemsg" data-id="{$single->id}" data-link="{$controllname}"><i class="fa fa-times"></i> حذف</a>
                                        {else}
                                        <a class="btn grey-cascade btn-xs deletemsg disabled" data-id="{$single->id}" data-link="{$controllname}"><i class="fa fa-times"></i> حذف</a>
                                        {/if}
                                    </td>
                                </tr>
                                {/foreach}
                            </tbody>
                        </table>


                    </div>
                </div>
            </div>
        </div>
        <!-- END PAGE CONTENT-->
    </div>
</div>
<!-- END CONTENT -->