remove unused tag
This commit is contained in:
parent
f58bec93e7
commit
838d9d9111
6 changed files with 0 additions and 50 deletions
|
@ -1,24 +0,0 @@
|
|||
from django import template
|
||||
from django.core.urlresolvers import reverse
|
||||
|
||||
|
||||
register = template.Library()
|
||||
|
||||
|
||||
@register.inclusion_tag('permissions/tags/perm_form.html', takes_context=True)
|
||||
def add_perm_form(context):
|
||||
return {
|
||||
'form': context['add_form'],
|
||||
'type': 'add',
|
||||
'title': 'Add permission',
|
||||
'action': reverse('add-global-permission'),
|
||||
}
|
||||
|
||||
|
||||
@register.inclusion_tag('permissions/tags/perm_form.html', takes_context=True)
|
||||
def edit_perm_form(context):
|
||||
return {
|
||||
'form': context['edit_form'],
|
||||
'type': 'edit',
|
||||
'title': 'Edit permission',
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue