@extends('layouts.modal')

@section('modal_id'){{ 'modal-syllabus' }}@overwrite
@section('modal_title'){{ 'Anadiendo prontuario' }}@overwrite

@section('modal_body')
    <form method="POST" enctype="multipart/form-data" id='modal-syllabus-form'>
        @method('PATCH')
        @csrf
        {{-- <input type="hidden" name="course_id" id="modal-syllabus-course_id"> --}}
        <div class="row">
            <div class="form-group col-12">
                <input type="file" id="modal-syllabus-field" name="syllabus" required>
            </div>
        </div>
    </form>
@overwrite

@section('modal_submit_text'){{ 'Subir prontuario' }}@overwrite
@section('modal_submit')
    function(){document.getElementById('modal-syllabus-form').submit()}
@overwrite
