Ejemplo n.º 1
0
def entry(form):
    textarea="""
    <textarea name='text'>
    Write something here
    </textarea>
    """
    submit="""
    <input type='submit' name='submit' value='confirm'>
    """
    return cgipage(html_form(textarea + submit))
Ejemplo n.º 2
0
def entry(form):
    textarea = """
    <textarea name='text'>
    Write something here
    </textarea>
    """
    submit = """
    <input type='submit' name='submit' value='confirm'>
    """
    return cgipage(html_form(textarea + submit))
Ejemplo n.º 3
0
def entry(form):
    checkbox="""
    C1<input type=checkbox name=check1><br/>
    C2<input type=checkbox name=check2><br/>
    C3<input type=checkbox name=check3><br/>
    """
    radiobuttons="""
    R1<input type=radio name=choice value=1><br/>
    R2<input type=radio name=choice value=2><br/>
    R3<input type=radio name=choice value=3><br/>
    """
    submit="""
    <input type='submit' name='submit' value='confirm'>
    """
    return cgipage(html_form(checkbox + radiobuttons + submit))
Ejemplo n.º 4
0
def entry(form):
    checkbox = """
    C1<input type=checkbox name=check1><br/>
    C2<input type=checkbox name=check2><br/>
    C3<input type=checkbox name=check3><br/>
    """
    radiobuttons = """
    R1<input type=radio name=choice value=1><br/>
    R2<input type=radio name=choice value=2><br/>
    R3<input type=radio name=choice value=3><br/>
    """
    submit = """
    <input type='submit' name='submit' value='confirm'>
    """
    return cgipage(html_form(checkbox + radiobuttons + submit))