#NEWLINE# def get( self ) : #NEWLINE# #INDENT# 'HTML GET handler.\n    \n    Renders a form for inputing the information used to create a monster under\n    a specific set of rules. The rules are specified by the MonsterBuilder \n    being used.' #NEWLINE# template_values = self . build_template_values ( ) #NEWLINE# template_values [ 'questions' ] = CoreMonsterBuilder . questions ( ) #NEWLINE# product = self . request . get ( 'product' ) #NEWLINE# if template : #NEWLINE# #INDENT# product = Product . get_by_id ( int ( product ) ) #NEWLINE# if ( product . creator . account != template_values [ handlers . base . USER_KEY ] ) : #NEWLINE# #INDENT# return self . forbidden ( ) #NEWLINE# #UNINDENT# template_values [ 'product' ] = product #NEWLINE# #UNINDENT# template = configuration . site . jinja_environment . get_template ( 'monster/create.html' ) #NEWLINE# self . response . write ( template . render ( template_values ) )