我真的必须为每一个radio
或check box
如果我想在提交表格后保持状态而遭受这种痛苦吗?
<input type="radio" name="all_gene" class="open_gene" checked=
% if request.GET.get("all_gene") == "0":
checked="checked"
% endif
value="0"> <label>One gene</label>
<input type="radio" name="all_gene" class="open_gene" checked=
% if request.GET.get("all_gene") == "1":
checked="checked"
% endif
value="1"> <label>Another gene</label>