@extends('layouts.config_dashboard.app')

@section('content')
    <div class="container-fluid mt-4 ">
        <div class="row">
            <div class="col-12">
                <div class="card">
                    <div class="card-body mt-1">
                        <form action="{{ route('Step.store') }}" method="post">
                            @csrf
                            <div class="col-md-6">
                            <div class="form-group mb-1">
                                <label for="step">Etape de Dossier</label>
                                <select name="step" id="">
                                    @foreach ($steps as $step)
                                      <option value=""></option>
                                    @endforeach
                                </select>
                                @error('step')
                                    <span class="invalid-feedback" role="alert">
                                        <strong>{{ $message }}</strong>
                                    </span>
                                @enderror
                            </div>
                           
                            <div class="modal-footer">
                                <button type="submit" class="btn btn-primary">Créer</button>
                            </div>

                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
@endsection
