Skip to content
Snippets Groups Projects
Commit 80868b77 authored by Julian's avatar Julian
Browse files

Check for permissions

parent de1ea314
No related branches found
No related tags found
1 merge request!111Resolve "[Person overview] Implement multiple selection for marking absences as excused or for deleting"
...@@ -92,14 +92,16 @@ ...@@ -92,14 +92,16 @@
<form action="" method="post" class=""> <form action="" method="post" class="">
{% csrf_token %} {% csrf_token %}
<div class="col s12 m9 l7 pull-m3 pull-l5 row"> <div class="col s12 m9 l7 pull-m3 pull-l5 row">
<div class="col s12 m10"> {% if can_mark_all_as_excused %}
{% form form=action_form %}{% endform %} <div class="col s12 m10">
</div> {% form form=action_form %}{% endform %}
<div class="col s10 m2"> </div>
<button type="submit" class="btn waves-effect waves-light medium-high"> <div class="col s10 m2">
Run <i class="material-icons right">send</i> <button type="submit" class="btn waves-effect waves-light medium-high">
</button> Run <i class="material-icons right">send</i>
</div> </button>
</div>
{% endif %}
</div> </div>
{% render_table personal_notes_table %} {% render_table personal_notes_table %}
</form> </form>
......
Source diff could not be displayed: it is too large. Options to address this: view the blob.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment