code: def gen_checkbox_list(sig_dic):
      '''
      For generating List view HTML file for CHECKBOX.
      for each item.
      '''
      view_zuoxiang = '''<span class="iga_pd_val">'''
  
      dic_tmp = sig_dic['dic']
      for key in dic_tmp.keys():
          tmp_str = '''{{% if "{0}" in postinfo.extinfo["{1}"] %}} {2}  {{% end %}}
          '''.format(key, sig_dic['en'], dic_tmp[key])
          view_zuoxiang += tmp_str
  
      view_zuoxiang += '''</span>'''
      return view_zuoxianf gen_checkbox_list(sig_dic):
      '''
      For generating List view HTML file for CHECKBOX.
      for each item.
      '''
      view_zuoxiang = '''<span class="iga_pd_val">'''
  
      dic_tmp = sig_dic['dic']
      for key in dic_tmp.keys():
          tmp_str = '''{{% if "{0}" in postinfo.extinfo["{1}"] %}} {2}  {{% end %}}
          '''.format(key, sig_dic['en'], dic_tmp[key])
          view_zuoxiang += tmp_str
  
      view_zuoxiang += '''</span>'''
      return view_zuoxiang
docs: For generating List view HTML file for CHECKBOX.
      for each item.