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