comunicazione.welcome.html 909 B

123456789101112131415161718192021222324252627282930313233
  1. {% extends 'base.html' %}
  2. {% block body %}
  3. <form name="comunicazione" method="POST">
  4. <table class='table table-striped table-hover'>
  5. <thead class='thead-dark'>
  6. <tr>
  7. <th scope='col'>From</th>
  8. <th scope='col'>Soggetto</th>
  9. </tr>
  10. </thead>
  11. <tbody>
  12. {% csrf_token %}
  13. {% for az in comunicazione %}
  14. <tr>
  15. <td> {{ az.from }} </td>
  16. <td> {{ az.soggetto }}</td>
  17. <td><button type="submit" class='btn btn-primary' name="utenti" value="{{ az.id }}">Edit</button></td>
  18. </tr>
  19. {% endfor %}
  20. </tbody>
  21. </table>
  22. <div>
  23. <input type='submit' class='btn btn-primary' name='nuovo' value='nuovo'>
  24. <input type='reset' class='btn btn-primary' name='reset' value='reset'>
  25. <input type='submit' class="btn btn-primary" name="ritorna" value="Ritorna">
  26. </td>
  27. </form>
  28. {% endblock %}
  29. {% block bodybottom %}
  30. {% endblock %}