added IDs to editable
This commit is contained in:
parent
c5eaf569fe
commit
f95246e836
@ -44,11 +44,11 @@
|
||||
let sex_select = await selection("sex", result.sex);
|
||||
|
||||
let output =
|
||||
`Uživatelské jméno: <input class="editable" type="text" value="${result.username}"><br>
|
||||
Přezdívka: <input class="editable" type="text" value="${result.nickname}"><br>
|
||||
`Uživatelské jméno: <input id="username" class="editable" type="text" value="${result.username}"><br>
|
||||
Přezdívka: <input id="nickname" class="editable" type="text" value="${result.nickname}"><br>
|
||||
Admin: ${admin_select}<br>
|
||||
Pohlaví: ${sex_select}<br>
|
||||
Bio: <input class="editable" type="text" value="${result.bio}"><br>`;
|
||||
Bio: <input id="bio" class="editable" type="text" value="${result.bio}"><br>`;
|
||||
|
||||
$("#right_panel").html(output + right_panel_buffer);
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
<select class="editable" name="admin">
|
||||
<select class="editable" id="admin">
|
||||
<option value="1">Ano</option>
|
||||
<option value="0">Ne</option>
|
||||
</select>
|
@ -1,4 +1,4 @@
|
||||
<select class="editable" name="sex">
|
||||
<select class="editable" id="sex">
|
||||
<option value="0">Nespecifikováno</option>
|
||||
<option value="1">Muž</option>
|
||||
<option value="2">Žena</option>
|
||||
|
Loading…
x
Reference in New Issue
Block a user