Skip to content
Snippets Groups Projects
Commit 5e45eb93 authored by wyl's avatar wyl
Browse files

update regist page

parent eca204ee
No related branches found
No related tags found
1 merge request!19update regist page
......@@ -80,7 +80,7 @@
<span class="icon"><i class='bx bxs-category'></i></span>
<select required id="type">
<option value="" disabled selected>Select Type</option>
<option style="color: black" value="commonAdmin">commonAdmin</option>
<option style="color: black" value="hospital">hospital</option>
<option style="color: black" value="patient">patient</option>
</select>
</div>
......@@ -99,8 +99,8 @@
});
function regist() {
if (type === "commonAdmin") {
role = "ADMIN";
if (type === "hospital") {
role = "HOSPITAL";
} else if (type === "patient") {
role = "PATIENT";
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment