/
usr
/
share
/
doc
/
python3-jinja2
/
examples
/
rwbench
/
mako
/
/usr/share/doc/python3-jinja2/examples/rwbench/mako
mkdir
upload
Name
Size
Mode
Actions
helpers.html
396
0644
edit
dl
rm
index.html
974
0644
edit
dl
rm
layout.html
862
0644
edit
dl
rm
Edit:
/usr/share/doc/python3-jinja2/examples/rwbench/mako/helpers.html
(396B)
<%def name="input_field(name='', value='', type='text')"> <input type="${type}" value="${value|h}" name="${name}"> </%def> <%def name="textarea(name, value='', rows=10, cols=40)"> <textarea name="${name}" rows="${rows}" cols="${cols}">${value|h}</textarea> </%def> <%def name="form(action='', method='post')"> <form action="${action|h}" method="${method}">${caller.body()}</form> </%def>
Save
<%def name="input_field(name='', value='', type='text')">
%def> <%def name="textarea(name, value='', rows=10, cols=40)">
${value|h}
%def> <%def name="form(action='', method='post')">
${caller.body()}
%def>