add mail sending policy for user (Web)
This commit is contained in:
parent
536a8bfe91
commit
bbe1fba99e
@ -74,6 +74,13 @@
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="form-check d-flex justify-content-center mb-4">
|
||||
<input asp-for="UserModel.OnlyImportantMails" class="form-check-input me-2" type="checkbox" id="policy" />
|
||||
<label class="form-check-label" for="policy">
|
||||
Send only important mails
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<!-- Submit button -->
|
||||
<button type="submit" data-mdb-button-init data-mdb-ripple-init class="btn btn-primary btn-block mb-4">
|
||||
Sign up
|
||||
|
@ -38,6 +38,12 @@
|
||||
<label class="form-label" for="birthday">Birthday</label>
|
||||
</div>
|
||||
|
||||
<!-- Sending Policy input -->
|
||||
<div class="form-outline mb-4">
|
||||
<input asp-for="UserModel.OnlyImportantMails" type="checkbox" id="policy" />
|
||||
<label class="form-label" for="policy">Send only important mails</label>
|
||||
</div>
|
||||
|
||||
<!-- Hidden inputs -->
|
||||
<input type="hidden" asp-for="UserModel.Id" />
|
||||
<input type="hidden" asp-for="UserModel.Role.Id" />
|
||||
|
Loading…
Reference in New Issue
Block a user