mirror of
https://github.com/aljazceru/CTFd.git
synced 2025-12-18 22:44:24 +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>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
{% for page in pages %}
|
{% for page in pages %}
|
||||||
<tr data-href="{{ url_for('admin.pages_detail', page_id=page.id) }}">
|
<tr>
|
||||||
<td class="page-title">
|
<td class="page-title">
|
||||||
{{ page.title }}
|
{{ page.title }}
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
Reference in New Issue
Block a user