digitaleagenturnc/dasettings/templates/dasettings/change_absence_yeardata.html

32 lines
1.1 KiB
HTML

<table class="table table-hover">
<thead>
<tr>
<th scope="col">Jahr</th>
{% for ab_info in user_years.all %}
<th scope="">{{ab_info.year}}</th>
{% endfor %}
</tr>
</thead>
<tbody>
<tr>
<th scope="row">Urlaub</th>
{% for ab_info in user_years.all %}
<td class="" id="holiday_{{ab_info.pk}}">
<div class="form-group">
<input type="text" class="form-control readytochange_holiday" id="new_holiday_nor_{{ab_info.pk}}" aria-describedby="" value="{{ab_info.days}}">
</div>
</td>
{% endfor %}
</tr>
<tr>
<th scope="row">Resturlaub</th>
{% for ab_info in user_years.all %}
<td class="" id="rest_holiday_{{ab_info.pk}}">
<div class="form-group">
<input type="text" class="form-control readytochange_holiday" id="new_holiday_rest_{{ab_info.pk}}" aria-describedby="" value="{{ab_info.restdays}}">
</div>
</td>
{% endfor %}
</tr>
</tbody>
</table>