views/form.blade.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php /** @var \Galahad\Aire\Elements\Attributes\Collection $attributes */ ?>

<form {{ $attributes }}>

    @if(isset($_token) && 'GET' !== $method)
        <input type="hidden" name="_token" value="{{ $_token }}" hidden />
    @endif
    
    @isset($_method)
        <input type="hidden" name="_method" value="{{ $_method }}" hidden />
    @endisset
    
    {{ $fields }}
    
    {{ $validation }}
    
</form>