@extends("admin.layout.base")
@extends("admin.layout.header")

@section("title")
    Opret Lokation
@endsection

@section("path")
    <a href="{{ route('locations.create') }}" class="text-white">Opret Lokation</a> /
@endsection

@section("content")
    <h1>Opret Lokation</h1>
    <form method="post" action="{{ route("locations.store") }}">
        @csrf
        <label for="name">Lokationsnavn:</label>
        <input type="text" name="name" id="name" placeholder="Bygning A" required>
        <input type="submit" class="btn btn-dark text-white" value="Opret">
    </form>
@endsection