Skip to content

Commit

Permalink
Added jobtitle options #242
Browse files Browse the repository at this point in the history
  • Loading branch information
KelvinTegelaar committed Nov 21, 2021
1 parent eea72a8 commit dd0d5c8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions EditUser.html
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,11 @@ <h1 class="page-header-title">
placeholder="Enter one alias per line, leave blank if no changes are to be made."
value=""></textarea>
</div> <!-- Submit button-->
<div class="mb-3">
<label class="small mb-1" for="Jobtitle">Job title</label>
<input class="form-control" id="Jobtitle" placeholder="Enter the job title" value=""
name="Jobtitle" />
</div>
<div class="row gx-3 mb-3">
<!-- Form Group (first name)-->
<div class="col-md-6">
Expand Down Expand Up @@ -196,6 +201,7 @@ <h1 class="page-header-title">
<datalist id="UserlistOptions">
</datalist>
</div>

</div>

<button class="btn btn-primary" onclick='PostForm("Userform","api/EditUser")'' type="button">Edit User</button>
Expand Down
1 change: 1 addition & 0 deletions js/UserFormOptions.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ $(document).ready(function () {
$('#LocationDataList').val(data[0].usageLocation)
//extended fields
$('#streetAddress').val(data[0].streetAddress)
$('#Jobtitle').val(data[0].jobTitle)
$('#City').val(data[0].city)
$('#Country').val(data[0].country)
$('#CompanyName').val(data[0].companyName)
Expand Down

0 comments on commit dd0d5c8

Please sign in to comment.