my-idlers/resources/views/providers/create.blade.php

30 lines
1.0 KiB
PHP
Raw Normal View History

@section("title", "Insert provider")
<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-response-alerts></x-response-alerts>
<form action="{{ route('providers.store') }}" method="POST">
@csrf
<div class="row">
<div class="col-12 col-lg-6 mb-4">
<x-text-input title="Provider" name="provider_name"></x-text-input>
</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>