@extends('layouts.app') @section('content')
{{-- HEADER --}} {{-- FORM CARD --}}
Form Laboratorium
{{-- ERROR VALIDASI --}} @if ($errors->any())
Terdapat kesalahan pada input:
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif {{-- FORM --}}
@csrf
{{-- NAMA LABORATORIUM --}}
@error('nama_lab')
{{ $message }}
@enderror
{{-- LOKASI --}}
@error('lokasi')
{{ $message }}
@enderror
{{-- KEPALA LABORATORIUM --}}
@error('kepala_lab')
{{ $message }}
@enderror
{{-- DESKRIPSI --}}
@error('deskripsi')
{{ $message }}
@enderror
{{-- FOTO --}}
Format JPG, JPEG, atau PNG. Maksimal 2 MB.
@error('foto')
{{ $message }}
@enderror {{-- PREVIEW FOTO --}}

Preview Foto

Preview Foto
{{-- BUTTON --}}
Batal
{{-- ===================================================== CSS ====================================================== --}} {{-- ===================================================== PREVIEW FOTO ====================================================== --}} @endsection