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

46 lines
1.8 KiB
PHP
Raw Normal View History

2020-06-22 13:25:39 +00:00
@extends("admin.layout.base")
@extends("admin.layout.header")
@section("title")
2020-06-29 12:48:31 +00:00
Aktivitet - Vis
2020-06-22 13:25:39 +00:00
@endsection
@section("path")
2020-06-29 12:48:31 +00:00
<a href="{{ route('events.create') }}" class="text-white">Opret Aktivitet</a> /
2020-06-22 13:25:39 +00:00
@endsection
@section("content")
2020-06-29 09:05:07 +00:00
<h1>Opret Aktivitet:</h1>
<form method="post" action="{{ route("events.store") }}">
2020-06-22 13:25:39 +00:00
@csrf
2020-06-29 09:05:07 +00:00
<label for="name">Navn:</label>
2020-06-22 13:25:39 +00:00
<input type="text" name="name" id="name" max="60" required>
<label for="description">Beskrivelse:</label>
<input type="text" name="description" id="description" max="500" required>
<label for="date">Aktivitet dato:</label>
<input type="date" name="date" id="date" required>
2020-06-22 13:25:39 +00:00
<input type="submit" class="btn btn-dark text-white" value="Opret">
</form>
{{-- <table class="tbl">--}}
{{-- <tr>--}}
{{-- <th>ID</th>--}}
{{-- <th>Fornavn</th>--}}
{{-- <th>Efternavn</th>--}}
{{-- <th>Email</th>--}}
{{-- <th>Tlf nr</th>--}}
{{-- <th style="width: 1px;"><img class="w-100" src="{{ asset('/images/icons/pencil.svg') }}" alt="Update"></th>--}}
{{-- <th style="width: 1px;"><img class="w-100" src="{{ asset('/images/icons/trashcan.svg') }}" alt="Delete"></th>--}}
{{-- </tr>--}}
{{-- <tr>--}}
{{-- <td>{ID}</td>--}}
{{-- <td>{Fornavn}</td>--}}
{{-- <td>{Efternavn}</td>--}}
{{-- <td>{Email}</td>--}}
{{-- <td>{TLF}</td>--}}
{{-- <td><a href=""><img class="w-100" src="{{ asset('/images/icons/pencil-dark.svg') }}" alt="Update"></a></td>--}}
{{-- <td><a href=""><img class="w-100" src="{{ asset('/images/icons/trashcan-dark.svg') }}" alt="Delete"></a></td>--}}
{{-- </tr>--}}
{{-- </table>--}}
@endsection