<!-- 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">Show in {$shcontrollname}</span>
                        </div>
                        <div class="actions" id="nestable_list_menu">


                            <a class="btn default btn-xs blue tooltips" href="{$hosturl}/controllers/{$controllname}.php" data-container="body" data-placement="top" data-original-title="Add new">
                                <i class="fa  fa-plus"></i>
                                Add new
                            </a>

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

                        <table class="table table-hover" id="controllprop">
                            <thead>
                                <tr>
                                    <th>
                                        Control name
                                    </th>
                                    <th>
                                        Control real name
                                    </th>
                                    <th width="5%"></th>
                                    <th width="5%"></th>
                                </tr>
                            </thead>
                            <tbody>
                                {foreach $awcontrolls as $single}
                                <tr class="odd gradeX">
                                    <td>
                                        {$single->label}
                                    </td>
                                    <td>
                                        {$single->name}
                                    </td>
                                    <td>
                                        <a href="{$hosturl}/controllers/{$controllname}.php?ac=edit&id={$single->id}" class="btn blue-hoki btn-xs"><i class="fa fa-pencil"></i> Edit</a>
                                    </td>
                                    <td>
                                        <a class="btn grey-cascade btn-xs deletemsg" data-id="{$single->id}" data-link="{$controllname}"><i class="fa fa-times"></i> Delete</a>
                                    </td>
                                </tr>
                                {/foreach}
                            </tbody>
                        </table>


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