

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

        <ol class="breadcrumb">
            <li><a href="#">المشروعات </a></li>
            <li><a href="projectstagesController.php?do=show">  مراحل المشروعات</a></li>
             {if $studentdata->del lt 2}
            <li class="active">تعديل  </li> 
            {else}
            <li class="active">تفاصيل  </li> 
            {/if}
        </ol>
        <div class="panel panel-default panel-m">
            <div class="panel-heading">
                  {if $studentdata->del lt 2}
                <h3 class="panel-title">تعديل  </h3>
                 {else}
            <h3 class="panel-title">تفاصيل  </h3> 
            {/if}
            </div>
            <div class="panel-body">


                {literal}
               <form class="form-horizontal"  action="projectstagesController.php"  id="studentformajax" method="post"  enctype="multipart/form-data" data-dosave="?do=savedata">

                    {/literal}

                    
                    <div class="form-group">
                        <label for="txtName" class="col-lg-2 control-label">اسم </label>
                        <div class="col-lg-4">
                            <input    required="required"    type="text" name="name" 
                            class="form-control checkcolumn"  placeholder="اسم "  
                            data-table="projectstages" data-tablecol="name"  data-tableid="{$webclientdata->id}" data-parentid="" data-parentcol="" value="{$webclientdata->name}"  />
                            
                        </div>
                    </div>
                  
                     <div class="form-group">
                        <label class="col-lg-2 control-label"> الحاله </label>
                        <div class="col-lg-6">
                            <div class="radio-inline">
                                <label>
                                    <input value="1"  class="is_active" name="is_active"  {if $webclientdata->is_active eq 1}  checked {/if} type="radio" />

                                    مفعل </label>
                            </div>
                            <div class="radio-inline">
                                <label>
                                    <input value="0"  class="is_active"   name="is_active" {if $webclientdata->is_active eq 0} checked {/if} type="radio" />
                                     معطل </label>
                            </div>
                          

                        </div>
                    </div>
                   
                  

                    <input type="hidden" name="projectstageid" value="{$webclientdata->id}" />
                    <input type="hidden" class="deldata" value="{$webclientdata->del}" />


                   {if $webclientdata->del lt 2}
                    <div class="form-group">
                        <div class="col-lg-offset-2 col-lg-4">
                             <button type="button" class="btn btn-primary pull-left studentformajax" >تعديل الامر</button>
                        </div>
                    </div>
                    {/if}




                </form>
            </div>
        </div>




    </div>
</div>
<script type="text/javascript">
    $(document).ready(function () {
    deldata();
     });
</script>


