mirror of
				https://github.com/cp6/my-idlers.git
				synced 2025-11-03 07:39:09 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			36 lines
		
	
	
	
		
			1.5 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
	
		
			1.5 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
@section('title') {{'Insert provider'}} @endsection
 | 
						|
<x-app-layout>
 | 
						|
    <x-slot name="header">
 | 
						|
        {{ __('Insert a new provider') }}
 | 
						|
    </x-slot>
 | 
						|
    <div class="container">
 | 
						|
        <x-card class="shadow mt-3">
 | 
						|
            <h4 class="mb-3">Provider information</h4>
 | 
						|
            <x-back-button>
 | 
						|
                <x-slot name="href">{{ route('providers.index') }}</x-slot>
 | 
						|
                Go back
 | 
						|
            </x-back-button>
 | 
						|
            <x-errors-alert></x-errors-alert>
 | 
						|
            <form action="{{ route('providers.store') }}" method="POST">
 | 
						|
                @csrf
 | 
						|
                <div class="row">
 | 
						|
                    <div class="col-12 col-lg-6 mb-4">
 | 
						|
                        <div class="input-group">
 | 
						|
                            <div class="input-group-prepend"><span class="input-group-text">Provider</span></div>
 | 
						|
                            <input type="text"
 | 
						|
                                   class="form-control"
 | 
						|
                                   name="provider_name" minlength="2" maxlength="255" required>
 | 
						|
                            @error('provider') <span class="text-red-500">{{ $message }}
 | 
						|
                    </span>@enderror
 | 
						|
                        </div>
 | 
						|
                    </div>
 | 
						|
                </div>
 | 
						|
                <div class="row">
 | 
						|
                    <div class="col-12 col-lg-4">
 | 
						|
                        <x-submit-button>Create provider</x-submit-button>
 | 
						|
                    </div>
 | 
						|
                </div>
 | 
						|
            </form>
 | 
						|
        </x-card>
 | 
						|
    </div>
 | 
						|
</x-app-layout>
 |