Sin descripción

user-add.blade.php 1.2KB

12345678910111213141516171819202122232425262728293031323334
  1. @extends('layouts.modal')
  2. @section('modal_id'){{ 'modal-user-add' }}@overwrite
  3. @section('modal_title'){{ 'Anadir usuario' }}@overwrite
  4. @section('modal_body')
  5. <form method="POST" id="modal-user-add-form" action="{{ route('addUser') }}">
  6. @csrf
  7. <div class="row">
  8. <div class="col">
  9. <div class="mdc-form-field">
  10. <div class="mdc-text-field mdc-text-field--no-label" id="semester-clone-form-new_semester" data-mdc-auto-init="MDCTextField">
  11. <input type="email" class="mdc-text-field__input" name="email">
  12. <div class="mdc-line-ripple"></div>
  13. </div>
  14. <div class="mdc-text-field-helper-line">
  15. <p class="mdc-text-field-helper-text mdc-text-field-helper-text--persistent">
  16. Email del usuario
  17. </p>
  18. </div>
  19. </div>
  20. </div>
  21. </div>
  22. </form>
  23. @overwrite
  24. @section('modal_submit_text'){{ 'OK' }}@overwrite
  25. @section('modal_submit')
  26. function(){document.getElementById('modal-user-add-form').submit()}
  27. @overwrite