
<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">
            <!-- Default panel contents -->
            <div class="panel-heading">
                <h3 class="panel-title">إضافة بنك</h3>
            </div>
            <div class="panel-body">
                {literal}
                <form id="bankform" class="nameToBeChecked form-horizontal" action="bankController.php?do=add" method="post" >
                    <!--validate the form before checking name-->
                    {/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="اسم البنك" />

                            <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"></textarea>
                        </div>
                    </div>

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





                    <div class="form-group">
                        <div class="col-lg-offset-2 col-lg-4">
                            <button name="btnAdd" type="button" id="btnAdd" 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}