No Description

loads.blade.php 1.2KB

123456789101112131415161718192021222324252627
  1. @extends('layouts.modal')
  2. @section('modal_id'){{ 'modal-professor-loads' }}@overwrite
  3. @section('modal_title'){{ 'Editando cargas' }}@overwrite
  4. @section('modal_body')
  5. <form method="POST" action="/professor/{{ $professor->id }}" id='modal-professor-loads-form'>
  6. @method('PUT')
  7. @csrf
  8. <input type="hidden" id="modal-professor-loads-semester_code" name="semester_code">
  9. <div class="form-group row">
  10. <div class="col-6">
  11. <label for="modal-professor-loads-admin_load">Carga administrativa:</label>
  12. <input id="modal-professor-loads-admin_load" type="number" step="0.01" class="form-control" name="admin_load">
  13. </div>
  14. <div class="col-6">
  15. <label for="modal-professor-loads-investigative_load">Carga investigativa:</label>
  16. <input id="modal-professor-loads-investigative_load" type="number" step="0.01" class="form-control" name="investigative_load">
  17. </div>
  18. </div>
  19. </form>
  20. @overwrite
  21. @section('modal_submit_text'){{ 'Editar' }}@overwrite
  22. @section('modal_submit')
  23. function(){document.getElementById('modal-professor-loads-form').submit()}
  24. @overwrite