<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=add" 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>




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

                            <span id="name">

                                <input type="text" name="clinic_name" id="clinicname"   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="clinicdescription"   placeholder=" الوصف " class="form-control" ></textarea>
                        </div>
                    </div>

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



                    <div class="form-group">
                        <div class="col-lg-offset-2 col-lg-4">
                            <button type="submit" id="clinicadd" 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}


