Brak opisu

syllabus.blade.php 704B

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