Skip to content

Commit

Permalink
Merge pull request #82 from manuelz120/display-code
Browse files Browse the repository at this point in the history
Display code
  • Loading branch information
manuelz120 authored Dec 2, 2023
2 parents 6dfe98c + 9ee2604 commit 1aed9d6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion templates/registration_codes.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ <h1>Registration Codes</h1>
</div>
<div class="row mb-2">
<div class="col">
{{ render_table(registration_codes, responsive=True, table_classes="font-monospace") }}
{{ render_table(registration_codes, responsive=True, titles=[('code','Code')],
table_classes="font-monospace") }}
{% if registration_codes | length == 0 %}
<p>No registration codes available</p>
{% endif %}
Expand Down

0 comments on commit 1aed9d6

Please sign in to comment.