Merge "Remove the redundant "required=True""

This commit is contained in:
Zuul 2018-07-25 02:38:50 +00:00 committed by Gerrit Code Review
commit c9c8ac0785
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ LOG = logging.getLogger(__name__)
class CreateRawRule(forms.SelfHandlingForm):
rule = forms.CharField(label=_("Rule"), required=True,
rule = forms.CharField(label=_("Rule"),
widget=forms.Textarea(attrs={'rows': 5}))
rule_name = forms.CharField(max_length=255, label=_("Rule Name"),
required=False)