Commit 330ddc77 by Czémán Arnold

dashboard: disable 'required' html attribute in ListSearchForms

parent c92dd151
...@@ -1550,6 +1550,8 @@ vm_search_choices = ( ...@@ -1550,6 +1550,8 @@ vm_search_choices = (
class VmListSearchForm(forms.Form): class VmListSearchForm(forms.Form):
use_required_attribute = False
s = forms.CharField(widget=forms.TextInput(attrs={ s = forms.CharField(widget=forms.TextInput(attrs={
'class': "form-control input-tags", 'class': "form-control input-tags",
'placeholder': _("Search...") 'placeholder': _("Search...")
...@@ -1574,6 +1576,8 @@ class VmListSearchForm(forms.Form): ...@@ -1574,6 +1576,8 @@ class VmListSearchForm(forms.Form):
class TemplateListSearchForm(forms.Form): class TemplateListSearchForm(forms.Form):
use_required_attribute = False
s = forms.CharField(widget=forms.TextInput(attrs={ s = forms.CharField(widget=forms.TextInput(attrs={
'class': "form-control input-tags", 'class': "form-control input-tags",
'placeholder': _("Search...") 'placeholder': _("Search...")
...@@ -1593,6 +1597,8 @@ class TemplateListSearchForm(forms.Form): ...@@ -1593,6 +1597,8 @@ class TemplateListSearchForm(forms.Form):
class UserListSearchForm(forms.Form): class UserListSearchForm(forms.Form):
use_required_attribute = False
s = forms.CharField(widget=forms.TextInput(attrs={ s = forms.CharField(widget=forms.TextInput(attrs={
'class': "form-control input-tags", 'class': "form-control input-tags",
'placeholder': _("Search...") 'placeholder': _("Search...")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment