Fakultas Ilmu Komputer UI

Commit a921ab69 authored by Rahmat Fadhilah's avatar Rahmat Fadhilah
Browse files

Merge branch '1706074902-17' into 'master'

Set value into place holder at unggah materi form

See merge request !79
parents 3d35ca2e 9a55bdfa
Pipeline #60021 passed with stages
in 25 minutes and 45 seconds
......@@ -28,6 +28,8 @@ class UploadMateriForm(forms.ModelForm):
if (field_name == "categories"):
field.widget.attrs["class"] = "form-control"
field.widget.attrs["placeholder"] = field.initial
field.initial = ""
self.fields['categories'].widget.attrs.update({'class' : "native"})
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment