def view_b():
     html.block('title')('New Title')
     return render_template()
 def view_a():
     g.attrs['description'] = 'A description'
     return render_template()
 def view_a():
     return render_template()
 def return_root():
     return render_template()
 def view_a():
     html.block('container')(
         html.div('Container content.')
     )
     return render_template()
예제 #6
0
def index():
    html.block('title')(
        'Element Consistency Tests'
    )
    return render_template()
 def return_root():
     g.blocks['body'] = 'Hello, World!'
     return render_template()
예제 #8
0
 def view_b():
     html.block('title')('New Title')
     return render_template()
예제 #9
0
def index():
    html.block('title')('Element Consistency Tests')
    return render_template()
예제 #10
0
 def view_a():
     return render_template()
예제 #11
0
 def view_a():
     g.attrs['description'] = 'A description'
     return render_template()
예제 #12
0
 def view_a():
     html.block('container')(html.div('Container content.'))
     return render_template()
예제 #13
0
 def return_root():
     return render_template()
예제 #14
0
 def return_root():
     g.blocks['body'] = 'Hello, World!'
     return render_template()