Fix tag attach wizard step
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com>
This commit is contained in:
@@ -9,6 +9,8 @@ from django.utils.translation import ugettext_lazy as _
|
||||
from mayan.apps.sources.wizards import WizardStep
|
||||
|
||||
from .forms import TagMultipleSelectionForm
|
||||
from .models import Tag
|
||||
from .permissions import permission_tag_attach
|
||||
|
||||
|
||||
class WizardStepTags(WizardStep):
|
||||
@@ -37,6 +39,8 @@ class WizardStepTags(WizardStep):
|
||||
def get_form_kwargs(self, wizard):
|
||||
return {
|
||||
'help_text': _('Tags to be attached.'),
|
||||
'model': Tag,
|
||||
'permission': permission_tag_attach,
|
||||
'user': wizard.request.user
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user