File tree 1 file changed +2
-2
lines changed
warehouse/templates/manage
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ <h3>Delete Release</h3>
117
117
118
118
< div id ="delete-release-modal " class ="modal ">
119
119
< div class ="modal__content " role ="dialog ">
120
- < form method ="POST " class ="modal__form ">
120
+ < form method ="POST " class ="modal__form " action =" {{ request.current_route_path() }} " >
121
121
< input name ="csrf_token " type ="hidden " value ="{{ request.session.get_csrf_token() }} ">
122
122
< a href ="#modal-close " title ="Close " class ="modal__close ">
123
123
< i class ="fa fa-times " aria-hidden ="true "> </ i >
@@ -145,7 +145,7 @@ <h3 class="modal__title">Delete Release {{ release.version }}?</h3>
145
145
< div id ="delete-file-modal-{{ loop.index }} " class ="modal ">
146
146
{% set project_name = project.normalized_name %}
147
147
< div class ="modal__content " role ="dialog ">
148
- < form method ="POST " class ="modal__form ">
148
+ < form method ="POST " class ="modal__form " action =" {{ request.current_route_path() }} " >
149
149
< input name ="csrf_token " type ="hidden " value ="{{ request.session.get_csrf_token() }} ">
150
150
< input name ="file_id " type ="hidden " value ="{{ file.id }} ">
151
151
< a href ="#modal-close " title ="Close " class ="modal__close ">
You can’t perform that action at this time.
0 commit comments