

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

        <ol class="breadcrumb">
            <li><a href="#">خصائص عامة</a></li>
            <li><a href="paymentnetworks.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">


                <form class="form-horizontal" id="networkForm" role="form" action="paymentnetworks.php?do=update" method="post"  enctype="multipart/form-data">

                    <div class="form-group">
                        <label for="txtName" class="col-lg-4 control-label">اسم الشبكة (باللغة العربية)  </label>
                        <div class="col-lg-6">
                            <input type="text" name="networkName"  id="networkName" value="{$network->name}" class="form-control" placeholder="اسم الشبكة" required="required"/>
                            <div class="clearfix"></div>
                        </div>
                        <span style="color: red;">*</span>
                        <span id="networkNameError" class=" alert-block alert-danger fade in" style="display:none ;padding: 5px 5px 5px 5px;">هذا الاسم مستخدم من قبل</span>
                    </div>

                    <div class="form-group">
                        <label for="txtName" class="col-lg-4 control-label">اسم الشبكة (English)  </label>
                        <div class="col-lg-6">
                            <input type="text" name="networkNameEn" id="networkNameEn" value="{$network->nameen}" class="form-control" placeholder="network name" required="required"/>
                            <div class="clearfix"></div>
                        </div>
                        <span style="color: red;">*</span>
                        <span id="networkNameEnError" class=" alert-block alert-danger fade in" style="display:none ;padding: 5px 5px 5px 5px;">this name used before</span>
                    </div>



                    <div class="form-group">
                        <label for="txtName" class="col-lg-4 control-label">نسبة الخصم  </label>
                        <div class="col-lg-6">
                            <input type="text" name="discountpercent" id="discountpercent" value="{$network->discountpercent}" class="form-control positivefloat" placeholder="نسبة الخصم"/>
                            <div class="clearfix"></div>
                        </div>
                        <span>%</span>
                    </div>

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

                    <div class="form-group">
                        <div class="col-lg-offset-2 col-lg-4">
                            <input name="networkId" id="networkId" type="hidden" value="{$network->id}" />
                            <input name="edit" id="edit" type="hidden" value="1" />
                            <button type="button" id="saveNetwork" data-edit="1" class="btn btn-primary pull-left">حفظ الامر</button>
                        </div>
                    </div>




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




    </div>
</div>




