Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
add more input fields in edit userinfo
Browse files Browse the repository at this point in the history
  • Loading branch information
vasupol11 committed Nov 30, 2015
1 parent 9635d32 commit d07f8e2
Showing 1 changed file with 34 additions and 6 deletions.
40 changes: 34 additions & 6 deletions ui/static/templates/useredit.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ <h3 class="panel-title">Edit profile</h3>
<div class="panel-body">
<form action="" class="form form-horizontal">
<div class="form-group">
<label for="name" class="col-sm-3 control-label">Name</label>
<label for="firstname" class="col-sm-3 control-label">First Name</label>
<div class="col-sm-9">
<input type="text" class="form-control" id="name" required>
<input type="text" class="form-control" id="firstname" required>
</div>
</div>
<div class="form-group">
<label for="fac" class="col-sm-3 control-label">Faculty and University</label>
<label for="lastname" class="col-sm-3 control-label">Last Name</label>
<div class="col-sm-9">
<input type="text" class="form-control" id="fac">
<input type="text" class="form-control" id="lastname" required>
</div>
</div>
<div class="form-group">
Expand All @@ -23,9 +23,37 @@ <h3 class="panel-title">Edit profile</h3>
</div>
</div>
<div class="form-group">
<label for="hometown" class="col-sm-3 control-label">Hometown</label>
<label for="gender" class="col-sm-3 control-label">Gender</label>
<div class="col-sm-9">
<input type="text" class="form-control" id="hometown">
<select class="form-control" name="gender">
<option value selected>--------</option>
<option value="M">Male</option>
<option value="F">Female</option>
</select>
</div>
</div>
<div class="form-group">
<label for="faculty" class="col-sm-3 control-label">Faculty</label>
<div class="col-sm-9">
<input type="text" class="form-control" id="faculty">
</div>
</div>
<div class="form-group">
<label for="major" class="col-sm-3 control-label">Major</label>
<div class="col-sm-9">
<input type="text" class="form-control" id="major">
</div>
</div>
<div class="form-group">
<label for="country" class="col-sm-3 control-label">Country</label>
<div class="col-sm-9">
<input type="text" class="form-control" id="country">
</div>
</div>
<div class="form-group">
<label for="city" class="col-sm-3 control-label">City</label>
<div class="col-sm-9">
<input type="text" class="form-control" id="city">
</div>
</div>
<div class="form-group">
Expand Down

0 comments on commit d07f8e2

Please sign in to comment.