Ekapp/skolehjem/resources/views/admin/events/edit.blade.php

24 lines
721 B
PHP
Raw Normal View History

2020-06-22 13:25:39 +00:00
@extends("admin.layout.base")
@extends("admin.layout.header")
@section("title")
Events - Vis
@endsection
@section("path")
2020-06-29 12:48:31 +00:00
<a href="" class="text-white">Vis Events</a> /
2020-06-22 13:25:39 +00:00
@endsection
@section("content")
<h1>Rediger Link:</h1>
<form method="post" action="{{route("events.update", ["event" => $event])}}">
@csrf
@method("PUT")
<label for="title">Titel:</label>
2020-06-29 12:48:31 +00:00
<input value="{{$event->name}}" type="text" name="title" id="title" required>
<label for="link">Linket:</label>
2020-06-29 12:48:31 +00:00
<input value="{{$event->description}}" type="text" name="link" id="link" required>
<input type="submit" class="btn btn-dark text-white" value="Rediger">
</form>
2020-06-22 13:25:39 +00:00
@endsection