my-idlers/resources/views/os/create.blade.php
cp6 ae5c541516 Implemented text input component
Implemented text input component
2022-10-31 14:42:02 +11:00

30 lines
1.1 KiB
PHP

@section("title", "Insert operating system")
<x-app-layout>
<x-slot name="header">
{{ __('Insert a new OS') }}
</x-slot>
<div class="container">
<x-card class="shadow mt-3">
<h4 class="mb-3">Operating system name</h4>
<x-back-button>
<x-slot name="href">{{ route('os.index') }}</x-slot>
Go back
</x-back-button>
<x-response-alerts></x-response-alerts>
<form action="{{ route('os.store') }}" method="POST">
@csrf
<div class="row">
<div class="col-12 col-lg-6 mb-4">
<x-text-input title="OS" name="os_name"></x-text-input>
</div>
</div>
<div class="row">
<div class="col-12 col-lg-4">
<x-submit-button>Create Operating system</x-submit-button>
</div>
</div>
</form>
</x-card>
</div>
</x-app-layout>