@extends('layouts.admin')

@section('content')




        <!-- Content Wrapper. Contains expense content -->
        <div class="content-wrapper" style="margin-left:10px !important;">
            <!-- Content Header (expense header) -->
            <section class="content-header">
                <div class="container-fluid">
                    <div class="row mb-2">
                        <div class="col-sm-6">
                            <h1>Edit banks</h1>
                        </div>
                        <div class="col-sm-6">
                            <ol class="breadcrumb float-sm-right">
                                <li class="breadcrumb-item"><a href="#">Home</a></li>
                                <li class="breadcrumb-item active">CMS</li>
                            </ol>
                        </div>
                    </div>
                </div><!-- /.container-fluid -->
            </section>









            <!-- Main content -->
            <section class="content">
                <div class="row">
                    <div class="col-md-12">
                        <div class="success">
                            @if(session()->has('success'))
                                <div class="alert alert-success">
                                    {{ session()->get('success') }}
                                </div>
                            @endif


                        </div>
                        <form action="{{url('/admin/banks/')}}/{{ $banks->id }}" method="post" enctype="multipart/form-data">
                            @csrf
                            @method('PUT')
      


                         <div class="form-group">
                            <label for="bank">  اسم الحساب    </label>
                            <input type="text" name="bank" id="bank" value="{{$banks->bank}}" class="form-control" id="bank" placeholder="Enter bank">
                            @error('title') {{ $message }} @enderror

                        </div>

       <div class="expensed-footer">
                        <button class="btn btn-primary">تحديث</button>
                        </div>


                        </form>


                    </div>
                    <!-- /.col-->
                </div>
                <!-- ./row -->
            </section>
            <!-- /.content -->
        </div>
        <!-- /.content-wrapper -->





@endsection
