massive update

This commit is contained in:
2019-01-08 16:09:15 +05:00
parent ad71e72294
commit 39916fa5fb
22 changed files with 1260 additions and 70 deletions

View File

@ -0,0 +1,52 @@
{% extends 'base.html' %}
{% block content %}
<div class="container">
<table class="table">
<thead>
<tr>
<th scope="col">
Id
</th>
<th scope="col">
Код
</th>
<th scope="col">
Имя
</th>
<th scope="col">
Краткое имя
</th>
<th scope="col">
Email
</th>
<th scope="col">
</th>
</tr>
</thead>
<tbody>
{% for item in data %}
<tr>
<th scope="row">
{{ item.id }}
</th>
<td>
{{ item.contact_info.code }}
</td>
<td>
{{ item.contact_info.name }}
</td>
<td>
{{ item.contact_info.short_name }}
</td>
<td>
{{ item.contact_info.email }}
</td>
<td>
<a href="{{ url_for('enterprise_details', ent_id=item.id) }}">Детали</a>
</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
{% endblock %}