{{extend 'layout.html'}} {{ dlg = dialog smt_button = dlg.element(_type="submit") smt_button['_class'] = 'btn' smt_button['_style'] = 'margin-right:4px;' ccl_button = dlg.element(_type="button") ccl_button['_class'] = 'btn' }}