@extends('layouts.app')
@section('title', 'Edit Space Type')
@section('content')
<h1>Edit Space Type</h1>
<form method="POST" action="{{ route('space-types.update', $spaceType) }}">@csrf @method('PUT')
<label>Name <input name="name" value="{{ $spaceType->name }}" required></label>
<label>Description <textarea name="description">{{ $spaceType->description }}</textarea></label>
<button type="submit">Update</button></form>
@endsection
