Added checkbox to enable registration

ref #112
This commit is contained in:
2021-03-26 17:37:54 +01:00
parent bc36411993
commit f9fe793573
3 changed files with 850 additions and 833 deletions

View File

@@ -277,6 +277,21 @@
on:select={(selectedValue) => (editable.contact = selectedValue.detail.value)}
on:clear={() => (editable.contact = null)} />
</div>
<div class="flex items-start mt-2">
<div class="flex items-center h-5">
<input
bind:checked={editable.registrationEnabled}
id="comments"
name="comments"
type="checkbox"
class="focus:ring-indigo-500 h-4 w-4 text-indigo-600 border-gray-300 rounded" />
</div>
<div class="ml-3 text-sm">
<label
for="comments"
class="font-medium text-gray-700">{$_('selfservice-registration')}</label>
</div>
</div>
<!-- -->
<div class="flex items-start mt-2">
<div class="flex items-center h-5">