mirror of
https://github.com/aljazceru/CTFd.git
synced 2025-12-18 06:24:23 +01:00
Remove data-href from pages.html to fix delete button (#1021)
* Remove `data-href` from `pages.html` to fix the delete button
* The delete action propagates too much causing issues. This should be re-implemented on page editor rewrite.
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for page in pages %}
|
||||
<tr data-href="{{ url_for('admin.pages_detail', page_id=page.id) }}">
|
||||
<tr>
|
||||
<td class="page-title">
|
||||
{{ page.title }}
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user