Fakultas Ilmu Komputer UI
Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
PMPL
Class Project
Kape
Commits
003cdc07
Commit
003cdc07
authored
Dec 03, 2019
by
Muhammad Fauzan Fikri
Browse files
add field student_toefl di edit profile
parent
bba1b6ab
Pipeline
#26542
failed with stages
in 6 minutes and 27 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
assets/js/EditProfile.jsx
View file @
003cdc07
...
...
@@ -64,6 +64,7 @@ export default class EditProfile extends React.Component {
linkedin_url
:
''
,
hackerrank_url
:
''
,
student_gpa
:
0.0
,
student_toefl
:
0
,
website_url
:
''
,
latest_work
:
''
,
latest_work_desc
:
''
,
...
...
@@ -104,6 +105,7 @@ export default class EditProfile extends React.Component {
linkedin_url
:
data
.
linkedin_url
,
hackerrank_url
:
data
.
hackerrank_url
,
student_gpa
:
data
.
student_gpa
,
student_toefl
:
data
.
student_toefl
,
website_url
:
data
.
website_url
,
latest_work
:
data
.
latest_work
,
latest_work_desc
:
data
.
latest_work_desc
,
...
...
@@ -617,6 +619,25 @@ export default class EditProfile extends React.Component {
name
=
"student_gpa"
/>
</
Form
.
Field
>
<
Form
.
Field
>
<
label
htmlFor
=
"student_toefl"
>
TOEFL
</
label
>
<
input
onChange
=
{
this
.
handleChange
}
placeholder
=
{
this
.
state
.
student_toefl
===
null
?
'
400
'
:
this
.
state
.
student_toefl
}
defaultValue
=
{
this
.
state
.
student_toefl
===
null
?
null
:
this
.
state
.
student_toefl
}
name
=
"student_toefl"
/>
</
Form
.
Field
>
<
Form
.
Field
>
<
label
htmlFor
=
"dependants"
>
Dependants
</
label
>
<
input
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment