@extends('admin.layout')
@section('title','Modifier une Banque')
@section('content')

<div class="container">
    <div class="col-12">
        <div class="card card-primary">
            <div class="card-header">
                <h3 class="card-title">Modifier une Banque</h3>
            </div>
            <form action="{{ route('banque_infos.update', $banqueInfo->id) }}" method="POST">
                @csrf
                @method('PUT')
                <div class="card-body">
                    <div class="form-group">
                        <label>BIC</label>
                        <input type="text" name="bic" class="form-control" value="{{ $banqueInfo->bic }}">
                    </div>
                    <div class="form-group">
                        <label>Nom</label>
                        <input type="text" name="nom" class="form-control" value="{{ $banqueInfo->nom }}">
                    </div>
                    <div class="form-group">
                        <label>Contact</label>
                        <input type="text" name="contact" class="form-control" value="{{ $banqueInfo->contact }}">
                    </div>
                    <div class="form-group">
                        <label>Email</label>
                        <input type="email" name="email" class="form-control" value="{{ $banqueInfo->email }}">
                    </div>
                    <div class="form-group">
                        <label>Adresse</label>
                        <input type="text" name="adresse" class="form-control" value="{{ $banqueInfo->adresse }}">
                    </div>
                </div>
                <div class="card-footer">
                    <button type="submit" class="btn btn-primary">Mettre à jour</button>
                </div>
            </form>
        </div>
    </div>
</div>

@endsection
