Ei kuvausta

loads.blade.php 1.5KB

1234567891011121314151617181920212223242526272829303132333435
  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>
  15. <div class="form-group row">
  16. <div class="col-6">
  17. <label for="modal-professor-loads-investigative_load">Carga investigativa:</label>
  18. <input id="modal-professor-loads-investigative_load" type="number" step="0.01" class="form-control" name="investigative_load">
  19. </div>
  20. </div>
  21. <div class="form-group row">
  22. <div class="col-6">
  23. <label for="modal-professor-loads-other">Otras cargas:</label>
  24. <input id="modal-professor-loads-other" type="number" step="0.01" class="form-control" name="other">
  25. </div>
  26. </div>
  27. </form>
  28. @overwrite
  29. @section('modal_submit_text'){{ 'Editar' }}@overwrite
  30. @section('modal_submit')
  31. function(){document.getElementById('modal-professor-loads-form').submit()}
  32. @overwrite