🙋‍♂️ UserDetail - active/inactive user state edit

ref #12
This commit is contained in:
Philipp Dormann 2021-01-14 18:22:09 +01:00
parent ef9fc596f5
commit 86c54e04a8

View File

@ -184,7 +184,11 @@
</div>
<!-- -->
<div class="mt-3 text-sm w-full">
<input
<label
for="enabled"
class="ml-1 font-medium text-gray-700">Active?</label>
<br>
<p class="text-gray-500"> <input
id="enabled"
on:change={() => {
editable_userdata.enabled = !editable_userdata.enabled;
@ -193,11 +197,7 @@
name="enabled"
type="checkbox"
checked={editable_userdata.enabled}
class="focus:ring-indigo-500 h-4 w-4 text-indigo-600 border-gray-300 rounded" />
<label
for="enabled"
class="ml-1 font-medium text-gray-700">Active?</label>
<p class="text-gray-500">set the user active/ inactive</p>
class="focus:ring-indigo-500 h-4 w-4 text-indigo-600 border-gray-300 rounded" /> set the user active/ inactive</p>
</div>
<div class="text-sm w-full">
<label