pure & tornado -- form
在工作中常用的几个form aligned-form & select handler代码 handlers/form.py class MainHandler(tornado.web.RequestHandler): def get(self): # 表单模板测试 self.render("form.html") def post(self): print self.request.arguments print self.get_argument("cb", "xx") template模板 templates/form.html <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>测试 pure form</title> <link rel="stylesheet" href="/static/css/pure/forms.css" /> </head> <body> <form class="pure-form pure-form-aligned" method="post"> <fieldset> <div class="pure-control-group"> <label for="name">Username</label> <input id="name" name="name" type=