modals: Update checkbox in deactivate user modal to be same as others.

This commit changes the design of checkbox in deactivate user modal
to be same as others in the app. We have added parent element with
".new-style" class for now, since we have this for all other checkbox
in the app and this seems to be the simplest solution.

In future, we plan to remove the "new-style" class and instead add
CSS based on a component for checkbox elements.
This commit is contained in:
Sahil Batra 2023-02-28 17:19:47 +05:30 committed by Tim Abbott
parent 5d00662135
commit f9c739ab9d
1 changed files with 9 additions and 7 deletions

View File

@ -18,13 +18,15 @@
</ul> </ul>
{{/if}} {{/if}}
</p> </p>
<div class="new-style">
<label class="checkbox"> <label class="checkbox">
<input type="checkbox" class="send_email" data-key="{{ key }}" /> <input type="checkbox" class="send_email" data-key="{{ key }}" />
<span></span>
{{#tr}} {{#tr}}
Notify this user by email? Notify this user by email?
{{/tr}} {{/tr}}
<span></span>
</label> </label>
</div>
<div class="email_field"> <div class="email_field">
<p class="border-top"> <p class="border-top">
<strong>{{t "Subject" }}:</strong> <strong>{{t "Subject" }}:</strong>