<?php $section = $sections['section_6'] ?? []; ?>

<form method="post" action="<?php echo site_url('admin/product/save_section'); ?>" enctype="multipart/form-data">
    <input type="hidden" name="prd_id" value="<?php echo $product['prd_id']; ?>">
    <input type="hidden" name="section_key" value="section_6">

    <div class="form-group"><label>Title</label><input name="title" class="form-control" value="<?php echo $section['title'] ?? ''; ?>"></div>
    <div class="form-group"><label>Video Link</label><input name="video_link" class="form-control" value="<?php echo $section['video_link'] ?? ''; ?>"></div>

    <button class="btn btn-success">Save</button>
</form>