@extends('layouts.app')

@section('title', 'Edit Room')

@section('content')
    <x-page-head title="Edit Room" subtitle="{{ $room->code }}">
        <x-slot:actions><a href="{{ route('extras.hostel.index') }}" class="btn btn-outline">Back</a></x-slot:actions>
    </x-page-head>
    <x-panel>
        <form method="POST" action="{{ route('extras.hostel.update', $room) }}">
            @csrf @method('PUT') @include('admin.hostel._form')
            <button type="submit" class="btn btn-primary" style="margin-top:16px;">Update</button>
        </form>
    </x-panel>
@endsection
