door.blade.php 1.73 KB
Newer Older
1
@extends('layouts.admin.builder', ['resource' => 'door'])
2

3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
@section('form-content')
    <div class="form-group">
        <label for="name">
            Door Name
        </label>
        <span class="text-muted float-right">required</span>
        <input type="text" name="name" class="form-control" id="name"
               value="{{ old('name') }}"
               placeholder="Digital Lab">
    </div>
    <div class="form-group">
        <label for="location">
            Door Location
        </label>
        <span class="text-muted float-right">required</span>
        <input type="text" name="location" class="form-control" id="location"
               value="{{ old('location') }}"
               placeholder="CSP316">
21
    </div>
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
    <div class="form-check">
        @if (old('public'))
            <input type="checkbox" name="public" id="public" aria-describedby="publicHelp"
                   checked="{{ old('public') }}">
        @else
            <input type="checkbox" name="public" id="public" aria-describedby="publicHelp">
        @endif
        <label for="public">
            Public
        </label>
        <small id="publicHelp" class="form-text text-muted">
            If public, it will be visible to all users.
        </small>
    </div>
    <br>
    <div class="form-group">
        <label for="notes">
            Administrative Notes
        </label>
        <span class="text-muted float-right">required</span>
        <textarea name="notes" class="form-control" id="notes" placeholder="Anything useful can go here.">{{ old('notes') }}</textarea>
        <small id="notesHelp" class="form-text text-muted">
            This is a place only for administrative notes that only administrators can see.
        </small>
    </div>
47
@endsection