mirror of
https://codeberg.org/catask-org/catask.git
synced 2025-04-19 13:23:41 -05:00
fix delete button styling
This commit is contained in:
parent
a1186b5c2d
commit
2cb7574fe8
1 changed files with 4 additions and 1 deletions
|
@ -76,7 +76,10 @@
|
|||
<span class="d-inline d-sm-none ms-1">{{ _('Delete') }}</span>
|
||||
</button>
|
||||
{% else %}
|
||||
<button type="button" class="btn btn-outline-danger" hx-delete="{{ url_for('api.deleteQuestion', question_id=question.id) }}" hx-target="#question-{{ question.id }}" hx-swap="none">{{ _('Delete') }}</button>
|
||||
<button type="button" class="btn btn-outline-danger" hx-delete="{{ url_for('api.deleteQuestion', question_id=question.id) }}" hx-target="#question-{{ question.id }}" hx-swap="none" data-deletetarget data-target="question-{{ question.id }}">
|
||||
<i class="bi bi-trash"></i>
|
||||
<span class="d-inline d-sm-none ms-1">{{ _('Delete') }}</span>
|
||||
</button>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Reference in a new issue