File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 22{%endblock %} {% block content %}
33< div class ="card-wrapper "> {{ gamecard(game) }}</ div >
44< div class ="card-wrapper ">
5- < a class ="btn btn-red " href ="/download/{{ game.id }} "> Download Game</ a >
5+ < a class ="btn btn-red " href ="/download/{{ game.game_id }} "> Download Game</ a >
66</ div >
77{% if current_user.admin or current_user.id == game.author %}
88< h2 > Admin stuff:</ h2 >
99< div class ="card-wrapper ">
10- < a class ="btn btn-red " href ="/edit/{{ game.id }} "> Edit</ a >
11- < a class ="btn btn-red " href ="/admin/delete/{{ game.id }} "> Delete</ a >
10+ < a class ="btn btn-red " href ="/edit/{{ game.game_id }} "> Edit</ a >
11+ < a class ="btn btn-red " href ="/admin/delete/{{ game.game_id }} "> Delete</ a >
1212</ div >
1313{% endif %} {% endblock %}
You can’t perform that action at this time.
0 commit comments