Skip to content

Commit

Permalink
[tests] Fixed failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pandafy committed Nov 8, 2024
1 parent 1afd75a commit 924c1d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions openwisp_controller/config/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -862,7 +862,7 @@ def get_extra_context(self, pk=None):
if device.is_deactivated():
ctx['additional_buttons'].append(
{
'html': mark_safe(
'raw_html': mark_safe(
'<input class="default" type="submit"'
f' value="{_("Activate")}" form="act_deact_device_form">'
)
Expand All @@ -871,7 +871,7 @@ def get_extra_context(self, pk=None):
else:
ctx['additional_buttons'].append(
{
'html': mark_safe(
'raw_html': mark_safe(
'<p class="deletelink-box">'
'<input class="deletelink" type="submit"'
f' value="{_("Deactivate")}" form="act_deact_device_form">'
Expand Down

0 comments on commit 924c1d3

Please sign in to comment.