#NEWLINE# @ presentation . render_for ( RegistrationConfirmation , model = 'success' ) #NEWLINE# def render_registration_confirmation_success( self , h , comp , * args ) : #NEWLINE# #INDENT# 'Renders an registration acknowledgment message' #NEWLINE# with h . body ( class_ = 'body-login' ) : #NEWLINE# #INDENT# ( h << self . header ) #NEWLINE# with h . div ( class_ = 'title' ) : #NEWLINE# #INDENT# ( h << h . h2 ( _ ( 'Sign up' ) ) ) #NEWLINE# #UNINDENT# with h . div ( class_ = 'container' ) : #NEWLINE# #INDENT# with h . h3 : #NEWLINE# #INDENT# ( h << _ ( 'Registration successful!' ) ) #NEWLINE# #UNINDENT# with h . p : #NEWLINE# #INDENT# ( h << ( _ ( 'You are now a registered user of %s. You can login\n                on the home page of the application.' ) % self . app_title ) ) #NEWLINE# #UNINDENT# with h . form : #NEWLINE# #INDENT# with h . div ( class_ = 'actions' ) : #NEWLINE# #INDENT# ( h << h . input ( type = 'submit' , class_ = 'btn btn-primary' , value = _ ( 'Ok' ) ) . action ( comp . answer , comp . request . application_url ) ) #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# return h . root