jcramalho

Formulário PUG para upload de ficheiro

Oct 30th, 2017
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.00 KB | None | 0 0
  1. //- Template para o formulário de recolha
  2. html
  3. head
  4. meta(charset='UTF-8')
  5. link(rel='stylesheet' href='https://www.w3schools.com/w3css/4/w3.css')
  6. body
  7. div(class='w3-container w3-blue w3-round')
  8. h2 Registo de um júri
  9. form(action='/processaForm' method='POST' enctype='multipart/form-data' class='w3-container')
  10. fieldset
  11. legend Informação do Aluno
  12. label Nome:
  13. input(type='text' name='nome' class='w3-input w3-border')
  14. br
  15. label Número:
  16. input(type='text' name='ident' class='w3-input w3-border')
  17. br
  18. label Curso:
  19. input(type='text' name='curso' class='w3-input w3-border')
  20. br
  21. label Instituição:
  22. input(type='text' name='instituicao' class='w3-input w3-border')
  23. fieldset
  24. legend Informação sobre a Tese
  25. label Título:
  26. input(type='text' name='titulo' class='w3-input w3-border')
  27. br
  28. label Data:
  29. input(type='text' name='data' class='w3-input w3-border')
  30. br
  31. label Ficheiro:
  32. input(type='file' name='ficheiro' class='w3-input w3-border')
  33. fieldset
  34. legend Informação sobre o Docente
  35. label Nome do Docente:
  36. input(type='text' name='dnome' class='w3-input w3-border')
  37. br
  38. label Instituição do Docente:
  39. input(type='text' name='dinstituicao' class='w3-input w3-border')
  40. br
  41. input(type='radio' name='funcao' value='presidente' class='w3-radio' checked)
  42. label Presidente
  43. input(type='radio' name='funcao' value='vogal' class='w3-radio')
  44. label Vogal
  45. input(type='submit' value='Enviar' class='w3-btn w3-blue')
Advertisement
Add Comment
Please, Sign In to add comment