
<section id="container" class="container_12">



    <!-- ======= .grid_12 - block begin ======= -->
    <section class="grid_12">
        <div class="box">
            <div class="title"><span class="icon16_sprite i_3d"></span>عناصر القائمة</div>

            <div class="inside">
                <!-- formee-->
                <form class="formee" action="propertiesController.php?do=update" method="post">
                    <div class="in">

                        <div class="grid-3-12"><label>اسم الخاصية</label></div>
                        <div class="grid-9-12">
                            <span id="name">
                                <input type="text" name="propertyname" value="{$getallpropwithid->propertyname}"/>
                                <input type="text" name="propertyurl" value="{$getallpropwithid->propertyurl}"/>
                                <input type="hidden" name="propertyid" value="{$getallpropwithid->propertyid}"/>
                                <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><!-- 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>
