| 1234567891011121314151617181920212223242526272829303132333435 |
- {% extends 'base.html' %}
- {% block body %}
- <form name="comunicazione" method="POST">
- <table class='table table-striped table-hover'>
- <thead class='thead-dark'>
- <tr>
- <th scope='col'>From</th>
- <th scope='col'>Soggetto</th>
- </tr>
- </thead>
- <tbody>
- {% csrf_token %}
- {% for az in comunicazione %}
- <tr>
- <td> {{ az.from }} </td>
- <td> {{ az.soggetto }}</td>
- <td><button type="button" class='btn btn-primary' name="Edit" value="{{ az.id }}" data-toggle='modal' data-target='#EditPage{{ az.id }}'> >Edit</button></td>
- {% include 'comunicazione.edit.html' %}
- </tr>
- {% endfor %}
- </tbody>
- </table>
- <div>
- <button type='button' class='btn btn-primary' name='nuovo' value='nuovo' data-toogle='modal' data-target='#EditPage'>Nuovo</button>
- <input type='reset' class='btn btn-primary' name='reset' value='reset'>
- <input type='submit' class="btn btn-primary" name="ritorna" value="Ritorna">
- {% include 'comunicazione.edit.html' %}
- </div>
- </form>
- {% endblock %}
- {% block bodybottom %}
- {% endblock %}
|