15 lines
390 B
PHP
15 lines
390 B
PHP
<x-app-layout>
|
|
<x-slot:title>New Category</x-slot>
|
|
|
|
<form action="{{ route('categories.store') }}" method="POST">
|
|
@csrf
|
|
|
|
<div class="field-row">
|
|
<label for="name">Category Name</label>
|
|
<input type="text" id="name" name="name" />
|
|
<x-input-error :messages="$errors->get('name')" />
|
|
</div>
|
|
|
|
<button type="submit">Submit</button>
|
|
</form>
|
|
</x-app-layout>
|