

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

        <ol class="breadcrumb">
            <li><a href="#">ادارة الفواتير</a></li>
            <li><a href="billpropertyController.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">


                {literal}
                <form class="form-horizontal nameToBeChecked" role="form" action="billpropertyController.php?do=add" method="post" onsubmit="if (Spry.Widget.Form.validate(this)) {
                        checkName(event, 'billproperty', 'billpropertyname');
                        return true;
                    } else {
                        return false;
                    }">

                    {/literal}


                    <div class="form-group">
                        <label for="billpropertyname" class="col-lg-2 control-label">اسم الخاصية</label>
                        <div class="col-lg-4">

                            <span id="sprytextfield1">

                                <input type="text" name="billpropertyname" id="billpropertyname" class="form-control" placeholder="اسم الخاصية"/>
                                <span class="textfieldRequiredMsg">*</span></span>



                            <div id="nameError" class="alert alert-block alert-danger fade in" style="display:none">
                                <button type="button" class="close pull-left" data-dismiss="alert" aria-hidden="true">&times;</button>
                                <h4>رسالة خطا</h4>
                                <p>هذا الاسم مستخدم من قبل</p>

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


                        </div>
                    </div>



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

                    <div class="form-group">
                        <label for="description" class="col-lg-2 control-label">وصف الخاصية</label>
                        <div class="col-lg-4">


                            <textarea  class="form-control" rows="3" name="description" id="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 sprytextfield1 = new Spry.Widget.ValidationTextField("sprytextfield1");
</script>

{/literal}
