My .pt file : <html> <head></head> <body> ${addform} </body>
</html> in view: def add_form(request): import formish import schemaish schema=schemaish.Structure() schema.add('name',schemaish.String()) schema.add('gender',schemaish.String()) form=Form(schema) return {'addform':form()} But the final rendered page is like following: <form action="" class="formish-form" method="post" enctype="multipart/form-data" accept-charset="utf-8"> <div> <input type="hidden" name="_charset_" /></div> <div id="name--field" class="field name type-string widget-input"> <label for="name">Name</label> <div class="inputs"><input id="name" type="text" name="name" value="" /></div> </div> <div id="gender--field" class="field gender type-string widget-input"> <label for="gender">Gender</label> <div class="inputs"><input id="gender" type="text" name="gender" value="" /></div> </div> <div id="weight--field" class="field weight type-integer widget-input"> <label for="weight">Weight</label> <div class="inputs"><input id="weight" type="text" name="weight" value="" /></div> </div> <div class="actions"> <input type="submit" id="action" value="Submit" name="" /> </div> </form> when I look at the source I see the < is <, and the > is >
_______________________________________________ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev