29 lines
998 B
PHP
29 lines
998 B
PHP
<!-- resources/views/sertifikat/create.blade.php -->
|
|
|
|
@extends('layouts/contentNavbarLayout')
|
|
|
|
@section('title', 'Upload Sertifikat')
|
|
|
|
@section('content')
|
|
<!-- Your existing content goes here -->
|
|
<h4 class="fw-bold py-3 mb-4">
|
|
<span class="text-muted fw-light">Upload Sertifikat</span>
|
|
</h4>
|
|
|
|
<form action="{{ route('sertifikat.update', $sertifikat->id) }}" method="POST" enctype="multipart/form-data">
|
|
@csrf
|
|
<div class="card">
|
|
<div class="card-header">
|
|
Upload Sertifikat
|
|
</div>
|
|
<div class="card-body">
|
|
<form>
|
|
<div class="mb-3">
|
|
<label for="sertifikat" class="form-label">Sertifikat</label>
|
|
<input type="file" class="form-control" id="sertifikat" name="sertifikat" accept="file/pdf" value="{{$sertifikat->sertifikat}}">
|
|
</div>
|
|
<button type="submit" class="btn btn-primary">Submit</button>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
@endsection |