<!-- BEGIN CONTENT -->
<script src="{$path}/_assets/global/plugins/jquery.min.js" type="text/javascript"></script>

<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">
                            <a class="btn default btn-xs blue tooltips" href="{$hosturl}/{$controllname}/show" data-container="body" data-placement="top" data-original-title="Show">
                                <i class="icon-list"></i>
                                عرض البيانات
                            </a>
                        </div>
                    </div>
                    <div class="portlet-body form">
                        <!-- BEGIN FORM-->
                        <form action="{$hosturl}/{$controllname}/addit" method="post" id="theform" class="form-horizontal" enctype="multipart/form-data">
                            <div class="form-body">
                                <div class="alert alert-danger display-hide">
                                    <button class="close" data-close="alert"></button>
                                    لديك خطا فى ادخال البيانات , حاول مره اخرى
                                </div>
                                <div class="alert alert-success display-hide">
                                    <button class="close" data-close="alert"></button>
                                    لقد ادخلت بيانات صحيح
                                </div>


                                <div class="form-group">
                                    <label class="col-md-2 control-label" style="text-align: right">رقم الموبايل </label>
                                    <div class="col-md-4">
                                        <input type="text" class="form-control" placeholder="" name="mobile" value="{$contacts.mobile}" id="title" minlength="2" required>
                                    </div>
                                    <span class="help-block help-block-error" id="showerrortitle" style="color: #F3565D"></span>
                                </div>

                                <div class="clearfix"></div>


                                <div class="form-group">
                                    <label class="col-md-2 control-label" style="text-align: right">رقم الهاتف </label>
                                    <div class="col-md-4">
                                        <input type="text" class="form-control" placeholder="" name="phone" value="{$contacts.phone}" id="title" minlength="2" required>
                                    </div>
                                    <span class="help-block help-block-error" id="showerrortitle" style="color: #F3565D"></span>
                                </div>

                                <div class="clearfix"></div>




                                <div class="form-group">
                                    <label class="col-md-2 control-label" style="text-align: right">رباط الفيس بوك   </label>
                                    <div class="col-md-4">
                                        <input type="text" class="form-control" placeholder="" name="facelink" value="{$contacts.facelink}" id="title" minlength="2" required>
                                    </div>
                                    <span class="help-block help-block-error" id="showerrortitle" style="color: #F3565D"></span>
                                </div>


                                <div class="form-group">
                                    <label class="col-md-2 control-label" style="text-align: right">رقم الواتس أب </label>
                                    <div class="col-md-4">
                                        <input type="text" class="form-control" placeholder="" name="whatsapp" value="{$contacts.whatsapp}" id="title" minlength="2" required>
                                    </div>
                                    <span class="help-block help-block-error" id="showerrortitle" style="color: #F3565D"></span>
                                </div>

                                <div class="clearfix"></div>

                            </div>
                            <div class="form-actions">
                                <div class="row">
                                    <div class="col-md-offset-3 col-md-4">
                                        <button type="submit" class="btn green">حفظ</button>
                                        <button type="button" class="btn default rtnshow" data-controll="{$controllname}">إلغاء</button>
                                    </div>
                                </div>
                            </div>
                        </form>
                        <!-- END FORM-->
                    </div>
                </div>
            </div>
        </div>
        <!-- END PAGE CONTENT-->
    </div>
</div>
<!-- END CONTENT -->
<script src="{$path}/_assets/custom/image_validation.js"></script>