Fix checkbox selection issue
This commit is contained in:
		| @@ -90,9 +90,10 @@ | |||||||
|             <input type="hidden" name="granted_clients" value=""/> |             <input type="hidden" name="granted_clients" value=""/> | ||||||
|             {% for c in clients %} |             {% for c in clients %} | ||||||
|             <div class="form-check"> |             <div class="form-check"> | ||||||
|                 <input class="form-check-input authorize_client_checkbox" type="checkbox" data-id="{{ c.id.0 }}" |                 <input id="client-{{ c.id.0 }}" class="form-check-input authorize_client_checkbox" type="checkbox" | ||||||
|  |                        data-id="{{ c.id.0 }}" | ||||||
|                        {% if u.can_access_app(c.id) %} checked="" {% endif %}> |                        {% if u.can_access_app(c.id) %} checked="" {% endif %}> | ||||||
|                 <label class="form-check-label" for="admin"> |                 <label class="form-check-label" for="client-{{ c.id.0 }}"> | ||||||
|                     {{ c.name }} |                     {{ c.name }} | ||||||
|                 </label> |                 </label> | ||||||
|             </div> |             </div> | ||||||
| @@ -164,6 +165,7 @@ | |||||||
|     }); |     }); | ||||||
|  |  | ||||||
|  |  | ||||||
|  |  | ||||||
| </script> | </script> | ||||||
|  |  | ||||||
| {% endblock content %} | {% endblock content %} | ||||||
		Reference in New Issue
	
	Block a user