#NEWLINE# def get_form( self , form_class ) : #NEWLINE# #INDENT# form = super ( MozdnsCreateView , self ) . get_form ( form_class ) #NEWLINE# domain_pk = self . kwargs . get ( 'domain' , False ) #NEWLINE# if domain_pk : #NEWLINE# #INDENT# form = slim_form ( domain_pk = domain_pk , form = form ) #NEWLINE# #UNINDENT# reverse_domain_pk = self . kwargs . get ( 'reverse_domain' , False ) #NEWLINE# if reverse_domain_pk : #NEWLINE# #INDENT# slim_form ( reverse_domain_pk = reverse_domain_pk , form = form ) #NEWLINE# #UNINDENT# 'This removes the unhelpful "Hold down the...." help texts for the\n        specified fields for a form.' #NEWLINE# remove_message = unicode ( ' Hold down "Control", or "Command" on a Mac,to select more than one.' ) #NEWLINE# for field in form . fields : #NEWLINE# #INDENT# if ( field in form . base_fields ) : #NEWLINE# #INDENT# if form . base_fields [ field ] . help_text : #NEWLINE# #INDENT# new_text = form . base_fields [ field ] . help_text . replace ( remove_message , '' ) #NEWLINE# new_text = new_text . strip ( ) #NEWLINE# form . base_fields [ field ] . help_text = new_text #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# return form