aboutsummaryrefslogtreecommitdiff
path: root/qc_app/templates/dbupdate_hidden_fields.html
blob: cdebeab095fea68b09041405aeed9344d385597f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{%macro hidden_fields(filename, filetype):%}

<!-- {{kwargs}}: mostly for accessing the kwargs in macro -->

<input type="hidden" name="filename" value="{{filename}}" />
<input type="hidden" name="filetype" value="{{filetype}}" />
{%if kwargs.get("species"):%}
<input type="hidden" name="species" value="{{species}}" />
{%endif%}
{%if kwargs.get("genechipid"):%}
<input type="hidden" name="genechipid" value="{{genechipid}}" />
{%endif%}

{%endmacro%}