def render(self): x = '<input type="file" name="%s"' % net.websafe(self.name) x += self.addatts() x += ' />' return x