Skip to content

Commit

Permalink
Update form to use button (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
digitaldogsbody committed Feb 26, 2024
1 parent 58aae33 commit 34e213c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions app/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@ <h1>Welcome to the DataCite Data Files Service</h1>
<h3>Available Data Files</h3>
{{ render_table(
datafiles,
titles = [('name','Name'), ('description','Description'), ('size', 'Size'), ('doi', 'DOI')],
show_actions=True,
actions_title="Get Access",
custom_actions=[('Get Access', 'cloud-arrow-down', ('request_access', [('datafile_slug',':slug')]))]
titles = [('name','Name'), ('description','Description'), ('size', 'Size'), ('doi', 'DOI'), ('access_button', 'Access')],
safe_columns = ('access_button')
)
}}
{% endblock %}

0 comments on commit 34e213c

Please sign in to comment.