Fakultas Ilmu Komputer UI

Commit 003cdc07 authored by Muhammad Fauzan Fikri's avatar 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
......@@ -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
......
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