coaches can edit video analysis
This commit is contained in:
@@ -306,7 +306,7 @@ function copyText() {
|
||||
}
|
||||
</script>
|
||||
</li>
|
||||
{% if user.is_authenticated and user == workout.user.user %}
|
||||
{% if user.is_authenticated and workout|may_edit:request %}
|
||||
<li class="grid_4">
|
||||
<input type="checkbox" name="lock" id="lock" value="Lock">Lock Data and Video
|
||||
</li>
|
||||
@@ -322,7 +322,7 @@ function copyText() {
|
||||
<li class="grid_2">
|
||||
|
||||
|
||||
{% if form and user.is_authenticated and user == workout.user.user %}
|
||||
{% if form and user.is_authenticated and workout|may_edit:request %}
|
||||
|
||||
<table>
|
||||
{{ form.as_table }}
|
||||
|
||||
Reference in New Issue
Block a user