Make the CSV download button a link

This changes from using a form to using an <a> tag. The advantage of using a link is that the URL can easily be copy/pasted and the data can be downloaded programmatically. The reason I wanted to make this change is I wanted to write a small script that parses this CSV data and I cannot do that unless I can download the data programmatically.

The design changed only slightly as a consequence of not using native HTML <form> attribute anymore.

Old

Screen_Shot_2019-06-05_at_2.21.02_pm

New

Screen_Shot_2019-06-05_at_2.31.34_pm

Edited by Dylan Griffith

Merge request reports

Loading