This repository has been archived on 2025-09-03. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
Employee-Management-Portal/templates/workplaces.html
Alicja Cięciwa b8c345a3b8 table view
2020-12-28 23:07:31 +01:00

26 lines
562 B
HTML

{% extends "base.html" %}
{% block content %}
{% load crispy_forms_tags %}
<!-- Show workplaces -->
<div class="table-view">
<a href="{% url 'addworkplace' %}">+ Dodaj pracę</a> <br><br>
<table class="table">
<thead>
<tr>
<th scope="col">Miejsca pracy</th>
</tr>
</thead>
<tbody>
{% for wp in workplaces.all %}
<tr>
<td>{{ wp.workplace }} <br></td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
{% endblock %}