File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -254,12 +254,12 @@ class ImageJobForm(forms.Form):
254254 devicemodel = forms .CharField (
255255 label = "Device model" ,
256256 required = False ,
257- widget = forms .TextInput (attrs = {'readonly' : 'readonly' }),
257+ widget = forms .HiddenInput (attrs = {'readonly' : 'readonly' }),
258258 )
259259 devicevariant = forms .CharField (
260260 label = "Device variant" ,
261261 required = False ,
262- widget = forms .TextInput (attrs = {'readonly' : 'readonly' }),
262+ widget = forms .HiddenInput (attrs = {'readonly' : 'readonly' }),
263263 )
264264
265265 def __init__ (self , * args , ** kwargs ):
Original file line number Diff line number Diff line change 111111 {{ jobform.architecture }}
112112 </ td >
113113 </ tr >
114- < tr >
115- < td >
116- {{ jobform.devicemodel.label_tag }}
117- </ td >
118- < td >
119- {{ jobform.devicemodel }}
120- </ td >
121- </ tr >
122- < tr >
123- < td >
124- {{ jobform.devicevariant.label_tag }}
125- </ td >
126- < td >
127- {{ jobform.devicevariant }}
128- </ td >
129- </ tr >
130114 </ table >
115+ {{ jobform.devicemodel }} {{ jobform.devicevariant }}
131116 </ fieldset >
132117</ table >
133118< fieldset >
You can’t perform that action at this time.
0 commit comments