Commit 7ddedbea authored by Ian Evangelista's avatar Ian Evangelista
Browse files

remove btns

parent 83dc51b3
Pipeline #160883 passed with stage
in 24 seconds
......@@ -102,15 +102,6 @@
</div>
<div class="col-lg-6"></div>
<div class="col-lg-6"></div>
<div class="col-lg-6">
<input type="button" class="btn btn-primary hide" id="btn-ok-exercise" value=" OK ">
<input type="button" class="btn btn-primary" id="btn-edit-exercise" value=" Edit ">
<input type="button" class="btn btn-secondary hide" id="btn-cancel-exercise" value="Cancel">
<input type="button" class="btn btn-danger float-end hide" id="btn-delete-exercise" value="Delete">
</div>
<div class="col-lg-6">
</div>
</form>
</div>
......
async function displayUser() {
let user = await getCurrentUser();
console.log(user);
if (user) {
let form = document.querySelector("#form-user");
......@@ -13,7 +12,6 @@ async function displayUser() {
: (selector = `select[name=${key}]`);
let input = form.querySelector(selector);
let newVal = user[key];
console.log(key);
if (!newVal) newVal = "N/A";
input.value = newVal;
}
......
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
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