forked from rc/aircox
		
	cfr #121 Co-authored-by: Christophe Siraut <d@tobald.eu.org> Co-authored-by: bkfox <thomas bkfox net> Co-authored-by: Thomas Kairos <thomas@bkfox.net> Reviewed-on: rc/aircox#131 Co-authored-by: Chris Tactic <ctactic@noreply.git.radiocampus.be> Co-committed-by: Chris Tactic <ctactic@noreply.git.radiocampus.be>
		
			
				
	
	
		
			27 lines
		
	
	
		
			665 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			665 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
{% extends "./page_form.html" %}
 | 
						|
{% load static i18n humanize honeypot aircox %}
 | 
						|
 | 
						|
 | 
						|
{% block head_extra %}
 | 
						|
  {{ form.media }}
 | 
						|
{% endblock %}
 | 
						|
 | 
						|
{% block page-form-actions %}
 | 
						|
{% if object and object.pk and request.user.is_superuser %}
 | 
						|
<button type="button"
 | 
						|
    class="button secondary"
 | 
						|
    @click="$refs['group-users-modal'].open({id: {{ object.editors_group_id }}, name: '{{ object.editors_group.name }}' })">{% translate "Editors" %}</button>
 | 
						|
 | 
						|
{{ block.super }}
 | 
						|
{% endif %}
 | 
						|
{% endblock %}
 | 
						|
 | 
						|
{% block main %}
 | 
						|
{{ block.super }}
 | 
						|
 | 
						|
{% if object and object.pk and request.user.is_superuser %}
 | 
						|
{% include "./dashboard/widgets/group_users.html" %}
 | 
						|
{% endif %}
 | 
						|
 | 
						|
{% endblock %}
 |