1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- @extends('layouts.layout-user')
- @section('content')
- <h2 style="display: inline-block; margin-right: 10px;">Tambah Data Pelaporan Apresiasi</h2>
- <div class="row">
- <div class="w-full">
- <span class="card shadow text-decoration-none" style="display: flex;">
- <div class="card-body" style="display: flex; flex-direction: column;">
- <form class="form-horizontal" action="{{route('apresiasi.userStore')}}" method="POST" enctype="multipart/form-data" style="display: flex; flex-wrap: wrap;">
- @csrf
- <div class="container">
- <div class="row">
- <div class="col-lg-6">
- <div style="width: 100%;">
- <span>Judul Pelaporan</span>
- <div class="input-group input-group-merge" style="max-width: 400px; margin-bottom: 10px;">
- <input type="text" class="form-control" name="judul" placeholder="Masukkan judul" aria-describedby="defaultFormControlHelp">
- </div>
- <span>Deskripsi Pelaporan</span>
- <div class="input-group input-group-merge" style="max-width: 400px; margin-bottom: 10px;">
- <textarea class="form-control" name="deskripsi" placeholder="Masukkan keterangan" aria-describedby="defaultFormControlHelp"></textarea>
- </div>
- <label for="tanggal">Tanggal</label>
- <div class="input-group input-group-merge" style="max-width: 400px; margin-bottom: 10px;">
- <input class="form-control" type="date" name="tanggal">
- </div>
- </div>
- </div>
- <div class="col-lg-6">
- <div style="width: 100%;">
- <span>Lokasi</span>
- <div class="input-group input-group-merge" style="max-width: 400px; margin-bottom: 10px;">
- <input type="text" class="form-control" name="lokasi" placeholder="Masukkan lokasi" aria-describedby="defaultFormControlHelp">
- </div>
- <span>Foto</span>
- <div class="input-group input-group-merge" style="max-width: 400px; margin-bottom: 10px;">
- <input type="file" class="form-control" name="foto">
- </div>
- </div>
- </div>
- <div style="width: 100%; text-align: left; margin-top: 10px;">
- <a href="{{ route('apresiasi.userIndex') }}" class="btn btn-delete" style="display: inline-block; width: 100px; background-color: #ffffff; color: #4f60e0; border: 2px solid #4f60e0; border-radius: 4px; cursor: pointer; text-align: center;">Back</a>
- <button class="btn btn-delete" type="submit" name="submit" style="background-color: #4f60e0; color: #fff; border: none; border-radius: 4px; cursor: pointer;">Simpan</button>
- </div>
- </div>
- </div>
-
-
- </form>
- </div>
- </span>
- </div>
-
- </div>
-
-
- @endsection
|