diff options
Diffstat (limited to 'qc_app/templates/dbupdate_hidden_fields.html')
-rw-r--r-- | qc_app/templates/dbupdate_hidden_fields.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/qc_app/templates/dbupdate_hidden_fields.html b/qc_app/templates/dbupdate_hidden_fields.html new file mode 100644 index 0000000..cdebeab --- /dev/null +++ b/qc_app/templates/dbupdate_hidden_fields.html @@ -0,0 +1,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%} |