Projet

Général

Profil

0011-manager-views-add-mixin-to-RoleAddView-to-get-expect.patch

Benjamin Dauvergne, 14 août 2014 10:37

Télécharger (934 octets)

Voir les différences:

Subject: [PATCH 11/11] manager/views: add mixin to RoleAddView to get
 expected default action button title

 authentic2/manager/views.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
authentic2/manager/views.py
108 108
        return super(OtherActionsMixin, self).post(request, *args, **kwargs)
109 109

  
110 110

  
111
class RoleAddView(TitleMixin, AjaxFormViewMixin, FormView):
111
class RoleAddView(TitleMixin, ActionMixin, AjaxFormViewMixin, FormView):
112 112
    template_name = 'authentic2/manager/form.html'
113 113
    form_class = forms.RoleAddForm
114 114
    title = _('Add new role')
115
-