#NEWLINE# def __init__( self , request , * args , **kwargs ) : #NEWLINE# #INDENT# super ( JobExecutionGeneralConfigAction , self ) . __init__ ( request , * args , ** kwargs ) #NEWLINE# if ( request . REQUEST . get ( 'job_id' , None ) is None ) : #NEWLINE# #INDENT# self . fields [ 'job' ] = forms . ChoiceField ( label = _ ( 'Job' ) ) #NEWLINE# self . fields [ 'job' ] . choices = self . populate_job_choices ( request ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . fields [ 'job' ] = forms . CharField ( widget = forms . HiddenInput ( ) , initial = request . REQUEST . get ( 'job_id' , None ) )