about summary refs log tree commit diff
path: root/uploader/templates/macro-forms.html
blob: 0ccab32bc2c4b875ac26f4c9308df609ba09e9ca (plain)
1
2
3
4
5
6
7
8
9
{%macro add_http_feature_flags()%}
{%for flag in http_feature_flags():%}
{%if (request.args.get(flag) or request.form.get(flag) or ""):%}
<input type="hidden"
       name="{{flag}}"
       value="{{(request.args.get(flag) or request.form.get(flag))}}" />
{%endif%}
{%endfor%}
{%endmacro%}