Correction id -> name

darcs-hash:20070122082633-9e428-76bceb9a0618c0fe0a3e39d820c937aafa2f5de0.gz
This commit is contained in:
bobot 2007-01-22 09:26:33 +01:00
parent 2911614fa8
commit ba3cb20ee7

View file

@ -29,7 +29,7 @@ def question(f,QR):
""" % { "id" : id , "Q" : QR[0][1]}) """ % { "id" : id , "Q" : QR[0][1]})
QR=QR[1:] QR=QR[1:]
for (point,rep) in QR: for (point,rep) in QR:
r+=f.rawHTML("""<input type="radio" id="radio%(id)s" onclick="ajoute_Q%(id)s(%(point)s)" > %(rep)s\n"""% { "point" : point , "id" : id, "rep" : rep}) r+=f.rawHTML("""<input type="radio" name="radio%(id)s" onclick="ajoute_Q%(id)s(%(point)s)" > %(rep)s<br>\n"""% { "point" : point , "id" : id, "rep" : rep})
return r return r
def result(f): def result(f):