mirror of
https://github.com/eduardogsilva/wireguard_webadmin.git
synced 2025-08-29 22:29:52 +02:00
DNS Filter completed
This commit is contained in:
parent
5f7b25c8f7
commit
3c463ea3a0
3 changed files with 9 additions and 1 deletions
|
@ -106,6 +106,7 @@ class DNSFilterListForm(forms.ModelForm):
|
|||
"<a href='javascript:void(0)' class='btn btn-outline-danger' "
|
||||
"data-command='delete' onclick='openCommandDialog(this)'>Delete</a>"
|
||||
)
|
||||
self.fields['name'].widget.attrs['readonly'] = True
|
||||
else:
|
||||
delete_html = ''
|
||||
self.helper.layout = Layout(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue