暂无描述

create.blade.php 980B

1234567891011121314151617181920212223
  1. @extends('layouts.modal')
  2. @section('modal_id'){{ 'modal-section-create' }}@overwrite
  3. @section('modal_title'){{ 'Creando nuevas secciones' }}@overwrite
  4. @section('modal_body')
  5. <form method="POST" action="{{ route('section.store') }}" id='modal-section-create-form'>
  6. @csrf
  7. <input id="modal-section-create-course_id" type="hidden" name="course_id">
  8. <input id="modal-section-create-semester_code" type="hidden" name="semester_code">
  9. <div class="row">
  10. <div class="form-group col-6">
  11. <label for="modal-section-create-amount">Cantidad de Secciones:</label>
  12. <input id="modal-section-create-amount" type="number" class="form-control" name="section_count" min="1" required>
  13. </div>
  14. </div>
  15. </form>
  16. @overwrite
  17. @section('modal_submit_text'){{ 'Crear secciones' }}@overwrite
  18. @section('modal_submit')
  19. function(){document.getElementById('modal-section-create-form').submit()}
  20. @overwrite