python - Webpy form add checkbox for each line - align form elements horizontal -
i have matrix of elements such as:
column_1 column_2 column_3 val_1_1 val_1_2 val_1_3 <checkbox> val_2_1 val_2_2 val_2_3 <checkbox> submit
i have data column_{1,2,3} , need add checkbox each line.
how can render such form? tried use webpy, how add data form? helpful problem when adding new element form added bellow.
additional question: how can elements of form can aligned horizontal?
i guess best solution , try use found here: http://webpy.org/cookbook/form_fields
lateredit: solve overriding render method web.form.form
Comments
Post a Comment