<h1>Create Particular</h1>

@if($errors->any())
    <div style="color:red">
        <ul>
            @foreach($errors->all() as $err)
                <li>{{ $err }}</li>
            @endforeach
        </ul>
    </div>
@endif

<form method="POST" action="{{ route('particulars.store') }}">
    @csrf
    <label>Particulars:<br>
        <input type="text" name="particulars" value="{{ old('particulars') }}">
    </label>
    <br><br>
    <button type="submit">Save</button>
</form>

<p><a href="{{ route('particulars.index') }}">Back to list</a></p>
