25 lines
872 B
HTML
25 lines
872 B
HTML
{% extends "users/base.html" %}
|
|
{% block content %}
|
|
{% load crispy_forms_tags %}
|
|
{% load counter_tag %}
|
|
{% if request.user.profile.agency.module_timemanagement %}
|
|
<!-- TASK: Hier verhindern, dass der AN die Zielarbeitszeit nicht selber ändern kann sondern die geladen wird, die in den Vertragsdaten steht -->
|
|
<!-- TASK: Unterschied manuelles Eintragen von Arbeitstagen -->
|
|
<div class="content-section col-6">
|
|
<h3>Arbeitstag {% if team == 1 %} von {{user.get_full_name}} {% endif %} hinzufügen</h3>
|
|
<hr>
|
|
<h5>Start- und Endzeitpunkt</h5>
|
|
|
|
<form method="POST" class="">
|
|
{% csrf_token %}
|
|
{{form.media}}
|
|
{{form|crispy}}
|
|
|
|
<hr>
|
|
<a class="btn" href="{% url 'tm-management' %} ">Abbrechen</a>
|
|
<button type="submit" class="btn btn-primary" style="float: right" id="addbreakbutton">Arbeitstag hinzufügen</button>
|
|
</form>
|
|
</div>
|
|
{% endif %}
|
|
{% endblock content %}
|