Make the definition section of the wb/wf create section editable
User cannot modify wb/wf definition that is uploaded as a file during its creation. After file is selected, the user just sees its context but can't modify it if it is needed. So, making the field editable. Change-Id: I884b2dbf106f328843f81b23c838f7397c89375e Closes-Bug: #1505601
This commit is contained in:
parent
aff5d8f30d
commit
b31320c041
|
@ -94,8 +94,7 @@ class DefinitionForm(forms.SelfHandlingForm):
|
|||
class CreateForm(forms.SelfHandlingForm):
|
||||
definition = forms.CharField(
|
||||
widget=forms.widgets.Textarea(
|
||||
attrs={'readonly': 'readonly',
|
||||
'rows': 12}
|
||||
attrs={'rows': 12}
|
||||
),
|
||||
required=False
|
||||
)
|
||||
|
|
|
@ -127,8 +127,7 @@ class DefinitionForm(forms.SelfHandlingForm):
|
|||
class CreateForm(forms.SelfHandlingForm):
|
||||
definition = forms.CharField(
|
||||
widget=forms.widgets.Textarea(
|
||||
attrs={'readonly': 'readonly',
|
||||
'rows': 12}
|
||||
attrs={'rows': 12}
|
||||
),
|
||||
required=False
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue