I'm confused as to why I cannot render a single text box in a form with this code:
from __future__ import with_statement
import os
from nagare import presentation
class Todo(object):
pass
@presentation.render_for(Todo)
def render(self, h, *args):
h.head << h.head.title('Up and Running !')
h.head.css_url('/static/nagare/application.css')
with h.div(id='body'):
with h.form:
h.input(value='12')
return h.root
# ---------------------------------------------------------------
app = Todo