
<div class="row">
    <div class="container">
        <ol class="breadcrumb">
            <li><a href="#">المنتجات</a></li>
            <li><a href="productCatController.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">
                <!-- formee-->
                <form class="formee" action="propertiesController.php?do=add" method="post">
                    <div class="in"   style="min-height:500px;">

                        <div class="grid-3-12"><label>اسم الخاصية</label></div>
                        <div class="grid-9-12">
                            <span id="name">
                                <input type="text" name="propertyname"/>
                                <span class="textfieldRequiredMsg">يجب ادخال الاسم</span></span>
                        </div>
                        <div class="clear"></div>
                        <hr />

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

                        <div class="grid-3-12"><label>تصنيف الخصائص</label></div>
                        <div class="grid-9-12">
                            <select data-placeholder="اختر تصنيف" class="chzn-select select2" style="max-width:350px;" tabindex="1" name="propertyparent">
                                <option value="0">لا يوجد</option>
                                {foreach $propertiesData as $properties}
                                <option value="{$properties->propertyid}">{$properties->propertyname}</option>

                                {/foreach}

                            </select>
                        </div>
                        <div class="clear"></div>
                        <hr />

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

                        <div class="grid-3-12"><label>القيمة الاساسية</label></div>
                        <div class="grid-9-12">
                            <ul class="formee-list">
                                <li><input name="propertydefault" type="radio" value="0" /><label>نعم</label></li>
                                <li><input name="propertydefault" type="radio" checked="checked" value="1"/><label>لا</label></li>
                            </ul>
                        </div>
                        <div class="clear"></div>
                        <hr />
                        <!-- ====================== -->

                        <div class="grid-3-12"><label>الرابط</label></div>
                        <div class="grid-9-12">

                            <input type="text" name="propertyurl"/>

                        </div>
                        <div class="clear"></div>
                        <hr />


                    </div><!-- End .in class -->

                    <!--Form footer begin-->
                    <section class="box_footer">
                        <div class="grid-12-12">
                            <input type="reset" class="left button red" value="الغاء" />
                            <input type="submit" class="left button green" value="اضافة" />
                            <!--Form footer end-->

                            </form>
                            <!-- formee-->
                        </div>
                        </div>
                    </section>
                    <div class="clear"></div>
                    <!-- ======= .grid_12 - block end ======= -->



                    </section><!-- End of #container -->

                    </section><!-- End of #layout -->
                    <div class="clear"></div>


                    <script type="text/javascript">
                        var name = new Spry.Widget.ValidationTextField("name");
                    </script>
