Bez popisu

syllabus.blade.php 794B

12345678910111213141516171819202122
  1. @extends('layouts.modal')
  2. @section('modal_id'){{ 'modal-course-syllabus' }}@overwrite
  3. @section('modal_title'){{ 'Anadiendo prontuario' }}@overwrite
  4. @section('modal_body')
  5. <form method="POST" enctype="multipart/form-data" id='modal-course-syllabus-form'>
  6. @method('PATCH')
  7. @csrf
  8. {{-- <input type="hidden" name="course_id" id="modal-course-syllabus-course_id"> --}}
  9. <div class="row">
  10. <div class="form-group col-12">
  11. <input type="file" id="modal-course-syllabus-field" name="syllabus" required>
  12. </div>
  13. </div>
  14. </form>
  15. @overwrite
  16. @section('modal_submit_text'){{ 'Subir prontuario' }}@overwrite
  17. @section('modal_submit')
  18. function(){document.getElementById('modal-course-syllabus-form').submit()}
  19. @overwrite