MCPcopy Index your code
hub / github.com/webpy/webpy / render_css

Method render_css

web/form.py:76–89  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

74 return out
75
76 def render_css(self):
77 out = []
78 out.append(self.rendernote(self.note))
79 for i in self.inputs:
80 if not i.is_hidden():
81 out.append(
82 f'<label for="{net.websafe(i.id)}">{net.websafe(i.description)}</label>'
83 )
84 out.append(i.pre)
85 out.append(i.render())
86 out.append(self.rendernote(i.note))
87 out.append(i.post)
88 out.append("\n")
89 return "".join(out)
90
91 def rendernote(self, note):
92 if note:

Callers 1

test_id_escape_issueFunction · 0.95

Calls 5

rendernoteMethod · 0.95
appendMethod · 0.80
joinMethod · 0.80
is_hiddenMethod · 0.45
renderMethod · 0.45

Tested by 1

test_id_escape_issueFunction · 0.76