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

        <!--<ol class="breadcrumb">
  <li><a href="#"> صيانه</a></li>
  <li><a href="stagepropertyController.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" id="stage_property_form" role="form" action="stagepropertyController.php?do=update" method="post" >

                    {/literal}

                    <input type="hidden" name="propertyid" id="propertyid" class="form-control" value="{$alldata->stageProperityId}"/>

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

                        <div class="col-lg-4">


                            <input type="text" name="propertyname" id="propertyname" class="form-control" value="{$alldata->name}" required="required"/>


                        </div>
                    </div>

                    <!-- =================================================   -->
                    <!--<div class="form-group">
                      <label for="stagename" class="col-lg-2 control-label"> اسم المرحله</label>
                      <div class="col-lg-4"><span id="spryselect1">
                        <select class="select2 wdt100" name="stagename" id="stagename">
                          <option value="-1"> اختر مرحله</option>


                                                      {foreach $allstage as $data }
                                                        <option value="{$data->id}"  {if {$data->id} eq {$alldata->stageId}} selected  {/if} >{$data->title}</option>

                                       {/foreach}


                        </select>

                         <span class="selectInvalidMsg">هذا الحقل إلزامي</span></span>
                   </div>
                    </div>-->


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


                    <div class="form-group">
                        <label for="stagevalue" class="col-lg-2 control-label"> المبلغ</label>

                        <div class="col-lg-4">
                            <div class="input-group">

                                <input type="text" name="stagevalue" id="stagevalue" class="form-control" value="{$alldata->initialValue}" required="required"/>
                                <span class="input-group-addon">{$currency}</span>
                            </div>
                        </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>


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

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

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


{literal}
<script type="text/javascript">
    $(document).ready(function (e) {

        $("#stage_property_form").submit(function (e) {
            $(this).submit(function (e) {
                return false;
            });

            return true;
        });
        $("#stage_property_form").validate();
    });
    var spryselect1 = new Spry.Widget.ValidationSelect("spryselect1", {isRequired: false, invalidValue: "-1"});

</script>
{/literal}
