<?php 
session_start();
include"../../../../inc/conn.php";
$unit         = $_POST['unit'];
?>
    <link href="assets/plugins/summernote/summernote.css" rel="stylesheet">

    <form action="simpanpretest" method="POST" enctype="multipart/form-data">
        
        <input type="hidden" name="id_unit" value="<?php echo $unit;?>">

        <div class="form-group">
            <label for="exampleInputEmail1">Soal</label>
            <textarea name="soal" class="summernote form-control" required="required"></textarea>
        </div>





        <div class="modal-footer justify-content-between">
              
              <button type="submit" class="btn btn-primary">Simpan</button>
              <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
        
        </div>

       
        </form>        


        <script src="assets/plugins/summernote/summernote-bs4.min.js" defer></script>
        <script>
          $(document).ready(function() {
                $('.summernote').summernote({
                    height: 130,
                    toolbar: [
                        ['style', ['bold', 'italic', 'underline', 'clear']],
                        ['list', ['ul', 'ol']],
                        ['para', ['paragraph']],

                        ['insert', ['link','picture','video','table']],
        
                  ]
                });

           });

        </script>