

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

        <ol class="breadcrumb">
            <li><a href="#">المصروفات والايرادات</a></li>
            <li><a href="bankController.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 id="bankform" class="form-horizontal nameToBeChecked" role="form" action="bankController.php?do=update" method="post" >
                    {/literal}



                    <div class="form-group">
                        <label for="bankname" class="col-lg-2 control-label">اسم البنك</label>
                        <div class="col-lg-4">


                            <input type="text" name="bankname" id="bankname" class="form-control" placeholder="اسم البنك" value="{$loadData->bankname}"  />

                            <input type="hidden" name="oldname" id="oldname"  value="{$loadData->bankname}"  />
                            <div id="nameError" style="display:none"></div>
                        </div>
                    </div>

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



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

                            <textarea  class="form-control" rows="3" name="bankdetails">{$loadData->bankdetails}</textarea>

                        </div>
                    </div>

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


                    <input type="hidden" name="bankid" id="bankid" value="{$loadData->bankid}"/>
                    <input type="hidden" name="bankdate" value="{$loadData->bankdate}"/>

                    <input type="hidden" name="conditions" value="{$loadData->conditions}"/>

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

                    <div class="form-group">
                        <div class="col-lg-offset-2 col-lg-4">
                            <button id="btnAdd" type="button" class="btn btn-primary pull-left">حفظ الامر</button>
                        </div>
                    </div>




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




    </div>
</div>



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


{/literal}

