<!-- BEGIN CONTENT -->
<div class="page-content-wrapper">
    <div class="page-content">
        <!-- BEGIN PAGE HEADER-->
        <h3 class="page-title">
            {$shcontrollname}
        </h3>
        <!-- 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-plus font-red-sunglo"></i>
                            <span class="caption-subject font-red-sunglo bold uppercase">Edit  In  {$shcontrollname}</span>
                        </div>
                        <div class="actions">
                            <a href="{$hosturl}/controllers/{$controllname}.php?ac=show" data-container="body" data-placement="top"
                               data-original-title="{$smarty.const.ad_lang_back_btn}" class="btn btn-sm blue tooltips">
                                <i class="fa fa-list"></i>Back </a>
                        </div>
                    </div>
                    <div class="portlet-body form">
                        <!-- BEGIN FORM-->
                        <form action="{$hosturl}/controllers/{$controllname}.php?ac=update" method="post" class="form-horizontal vform"
                              enctype="multipart/form-data">
                            <div class="form-body">
                                <div class="alert alert-danger display-hide">
                                    <button class="close" data-close="alert"></button>
                                    {$smarty.const.ad_lang_message_error}
                                </div>
                                <div class="alert alert-success display-hide">
                                    <button class="close" data-close="alert"></button>
                                    {$smarty.const.ad_lang_message_success}
                                </div>

                                <div class="form-group form-md-line-input">
                                    <label class="col-md-1 control-label txtl" for="name">Name</label>
                                    <div class="col-md-11">
                                        <input type="text" class="form-control" name="name" id="name" 
                                               placeholder="Name" required="required" value="{$data->name}"   >
                                        <div class="form-control-focus">
                                        </div>
                                    </div>
                                </div>

                                <input type="hidden" id="id" name="id" value="{$data->id}"/>

                            </div>

                            <div class="form-actions">
                                <div class="row">
                                    <div class="col-md-offset-3 col-md-4">
                                        <button type="submit" class="btn green">Update</button>
                                        <button type="button" class="btn default rtnshow" data-controll="{$controllname}">Cancel</button>
                                    </div>
                                </div>
                            </div>
                        </form>
                        <!-- END FORM-->
                    </div>
                </div>
            </div>
        </div>
        <!-- END PAGE CONTENT-->
    </div>
</div>
<!-- END CONTENT -->