Skip to content

Commit

Permalink
Moved example file from media to static content for link reference.
Browse files Browse the repository at this point in the history
  • Loading branch information
morganekmefjord committed Dec 19, 2024
1 parent b01c2a6 commit 9345273
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ptp/inference/templates/inference/submit.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ <h4 class="mb-3">Inference Request Details</h4>
{{ form.as_p }}
<button type="submit">Submit Job</button>
</form>
<a href="/media/smiles_example.csv" download class="small">Download example input</a>
<a href="{% static 'examples/smiles_example.csv' %}" download class="small">Download example input</a>
</div>

</div>
Expand Down
2 changes: 2 additions & 0 deletions ptp/static/examples/smiles_example.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
SMILES, Name
O=Cc1ccc(O)c(OC)c1,Vanillin
2 changes: 2 additions & 0 deletions ptp/staticsource/examples/smiles_example.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
SMILES, Name
O=Cc1ccc(O)c(OC)c1,Vanillin

0 comments on commit 9345273

Please sign in to comment.