@extends('layouts.app')

@section('title', 'Ministère')

@section('content')
 <div class="pagetitle">
      <h1>Type de partenaire</h1>
      <nav>
        <ol class="breadcrumb">
          <li class="breadcrumb-item"><a href="index.html">Acceuil</a></li>
          <li class="breadcrumb-item">Type de partenaire</li>
          <li class="breadcrumb-item active">Ajout</li>
        </ol>
      </nav>
    </div><!-- End Page Title -->
    <section class="section">
      <div class="row">
        <div class="col-lg-12">
		 <div class="card">
    <div class="card-body">
        <h5 class="card-title">Ajout d'un type de partenaire</h5>

        <form action="{{ route('typepartenaires.store') }}" method="POST" class="row g-3">
            @csrf

            <div class="col-md-6">
                <label for="code" class="form-label">Type</label>
                <input type="text" class="form-control" id="type" name="type" placeholder="Type" required>
            </div>

      

            <div class="col-12">
                <label for="description" class="form-label">Description</label>
                <textarea class="form-control" id="description" name="description" rows="3" placeholder="Brève description"></textarea>
            </div>

            <div class="text-center">
                <button type="submit" class="btn btn-primary">Enregistrer</button>
                <button type="reset" class="btn btn-secondary">Réinitialiser</button>
            </div>
        </form>
    </div>
</div>

        </div>
      </div>
    </section>
@endsection
