<div class="row">
    <div class="container">

        <ol class="breadcrumb">
            <li><a href="#">العيادات</a></li>
            <li><a href="rb_clinics.php?do=show">عيادات</a></li>
            <li class="active">تعديل عيادة</li>
        </ol>


        <div class="panel panel-default panel-m">
            <div class="panel-heading">
                <h3 class="panel-title">تعديل عيادة</h3>
            </div>
            <div class="panel-body">



                <form class="nameToBeChecked form-horizontal" enctype="multipart/form-data" role="form" action="rb_clinics.php?do=update" method="post" >


                    <div class="form-group">
                        <span style="   font-size: 17px; color: red;text-align: center;margin-right: 211px;">  {if !empty($msg)}{$msg}{/if}</span>
                    </div>



                    <input type="hidden" value="{$load->id}" name="id_value"/>
                    <input type="hidden" value="{$loaddata->id}" name="dataid"/>

                    <div class="form-group">
                        <label for="savename" class="col-lg-2 control-label">اسم العيادة</label>
                        <div class="col-lg-4">

                            <span id="name">

                                <input value="{$load->name}" type="text" name="clinic_name" id="clinic_name"   placeholder="اسم العيادة" class="form-control" />

                                <span class="textfieldRequiredMsg">ادخل اسم العيادة</span></span>




                        </div>
                    </div>

                    <!-- =================================================   -->




                    <div class="form-group">
                        <label class="col-lg-2 control-label">الوصف</label>
                        <div class="col-lg-4">
                            <textarea required style="    height: 200px;"  name="clinic_description" id="clinic_description"   placeholder=" الوصف " class="form-control" >{$load->description}</textarea>

                        </div>
                    </div>

                    <!-- =================================================   -->



                    <div class="form-group">
                        <div class="col-lg-offset-2 col-lg-4">
                            <button type="submit"  class="btn btn-primary pull-left">تعديل </button>
                        </div>
                    </div>


                </form>
            </div>
        </div>




    </div>
</div>



{literal}

<script type="text/javascript">
    var name = new Spry.Widget.ValidationTextField("name");
    var sprytextfield1 = new Spry.Widget.ValidationTextField("sprytextfield1", "real");
    var sprytextfield3 = new Spry.Widget.ValidationTextField("sprytextfield3");
    var spryselect1 = new Spry.Widget.ValidationSelect("spryselect1", {invalidValue: "-1"});



</script>
<script type="text/javascript">
    var sprytextfield2 = new Spry.Widget.ValidationTextField("sprytextfield2");
</script>
{/literal}


