UCL / HHyeast-server

0 stars 0 forks source link

Fix bug with "detail" buttons #15

Closed ilectra closed 6 years ago

ilectra commented 6 years ago

In the summary page, there's a button for a detail page per database (3 in total), but they all redirect to <blabla-url>/pdb.

jonc125 commented 6 years ago

You can avoid using forms entirely for this. Just define 3 button-style links in the template file, e.g.

<a class="btn" href="{{ url_for('load_detail', filename=name, db='pdb') }}">Detailed PDB hits</a>