Commit 595f3c9b authored by Michael Lange's avatar Michael Lange
Browse files

Swap the eligiblity checkbox out for a toggle

parent 2e39c0a5
Showing with 6 additions and 6 deletions
+6 -6
......@@ -90,12 +90,12 @@
</h1>
<p>
<label class="is-interactive">
<input
type="checkbox"
checked={{model.isEligible}}
disabled={{setEligibility.isRunning}}
onchange={{perform setEligibility (not model.isEligible)}}
/> Eligible
{{#toggle
isActive=model.isEligible
isDisabled=(or setEligibility.isRunning model.isDraining)
onToggle=(perform setEligibility (not model.isEligible))}}
Eligible
{{/toggle}}
<span class="tooltip" aria-label="Only eligible clients can receive allocations">
{{x-icon "info-circle-outline" class="is-faded"}}
</span>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment