From 34e213c8df1076afabbc1b51a568cb72754ca452 Mon Sep 17 00:00:00 2001 From: Mike Bennett Date: Mon, 26 Feb 2024 13:56:09 +0000 Subject: [PATCH] Update form to use button (#6) --- app/templates/index.html | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/app/templates/index.html b/app/templates/index.html index 55e1554..a8656cb 100644 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -7,10 +7,8 @@

Welcome to the DataCite Data Files Service

Available Data Files

{{ 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 %}