mirror of
				https://github.com/netbox-community/netbox.git
				synced 2024-05-10 07:54:54 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			21 lines
		
	
	
		
			1023 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			1023 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| {% load render_table from django_tables2 %}
 | |
| {% if perms.ipam.change_aggregate or perms.ipam.delete_aggregate %}
 | |
|     <form method="post" class="form form-horizontal">
 | |
|         {% csrf_token %}
 | |
|         {% render_table table table_template|default:'table.html' %}
 | |
|         {% if perms.ipam.change_aggregate %}
 | |
|             <button type="submit" name="_edit" formaction="{% url 'ipam:aggregate_bulk_edit' %}" class="btn btn-warning btn-sm">
 | |
|                 <span class="glyphicon glyphicon-pencil" aria-hidden="true"></span>
 | |
|                 Edit Selected
 | |
|             </button>
 | |
|         {% endif %}
 | |
|         {% if perms.ipam.delete_aggregate %}
 | |
|             <button type="submit" name="_delete" formaction="{% url 'ipam:aggregate_bulk_delete' %}" class="btn btn-danger btn-sm">
 | |
|                 <span class="glyphicon glyphicon-trash" aria-hidden="true"></span>
 | |
|                 Delete Selected
 | |
|             </button>
 | |
|         {% endif %}
 | |
|     </form>
 | |
| {% else %}
 | |
|     {% render_table table table_template|default:'table.html' %}
 | |
| {% endif %} |