<x-layout title="New Category">
  <x-window>
    <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" value="{{ old('name') }}" />
        <x-input-error :messages="$errors->get('name')" />
      </div>

      <button type="submit">Submit</button>
    </form>
  </x-window>
</x-layout>
