#NEWLINE# def default_actions( self , **attrs ) : #NEWLINE# #INDENT# 'Returns a default action div with a submit button.' #NEWLINE# html = self . _field . form . html_builder #NEWLINE# label = attrs . pop ( 'label' , None ) #NEWLINE# if ( label is None ) : #NEWLINE# #INDENT# label = self . _field . form . _get_translations ( ) . ugettext ( 'Submit' ) #NEWLINE# #UNINDENT# attrs . setdefault ( 'class' , 'actions' ) #NEWLINE# return html . div ( html . input ( type = 'submit' , value = label ) , ** html )