<s> from django import forms <EOL> from django . utils . translation import ugettext_lazy as _lazy <EOL> from kitsune . groups . models import GroupProfile <EOL> from kitsune . sumo . form_fields import MultiUsernameField <EOL> from kitsune . users . forms import AvatarForm <EOL> class GroupProfileForm ( forms . ModelForm ) : <EOL> """<STR_LIT>""" <EOL> class Meta ( object ) : <EOL> model = GroupProfile <EOL> fields = [ '<STR_LIT>' ] <EOL> class GroupAvatarForm ( AvatarForm ) : <EOL> """<STR_LIT>""" <EOL> class Meta ( object ) : <EOL> model = GroupProfile <EOL> fields = [ '<STR_LIT>' ] <EOL> USERS_PLACEHOLDER = _lazy ( u'<STR_LIT:username>' ) <EOL> class AddUserForm ( forms . Form ) : <EOL> """<STR_LIT>""" <EOL> users = MultiUsernameField ( <EOL> widget = forms . TextInput ( attrs = { '<STR_LIT>' : USERS_PLACEHOLDER , <EOL> '<STR_LIT:class>' : '<STR_LIT>' } ) ) </s>
