gestione.servizi.list.html 836 B

123456789101112131415161718192021222324252627282930313233343536
  1. {% extends 'base.html' %}
  2. {% block top %}
  3. <p>
  4. utente che sta effettuando gli aggiornamenti {{ utenteautorizzato.mail }}@{{ utenteautorizzato.domain.nome }}
  5. </p>
  6. {% endblock %}
  7. {% block body %}
  8. <p>
  9. <A href= url 'Causali:CausaliEdit' 0 >Genera Una Nuova Causale</a>
  10. </p>
  11. <table class='table'>
  12. <thead>
  13. <tr>
  14. <th scope='col'>#</th>
  15. <th scope='col'>Servizio</th>
  16. <th scope='col'>*</th>
  17. </tr>
  18. </thead>
  19. <tbody>
  20. <form name="servizilist" method="POST">
  21. {% csrf_token %}
  22. {% for u in servizi %}
  23. <tr>
  24. <th scope='row'>{{ u.id }}</th>
  25. <td> <A href={% url 'Causali:CausaliEdit' u.id %}>{{ u.nome }}</a></td>
  26. <td>{% if u.enabled %}*{% else %}-{% endif %}</td>
  27. </tr>
  28. {% endfor %}
  29. </form>
  30. </tbody>
  31. {% endblock %}