mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-08 03:36:37 +00:00
Clean up checkbox
This commit is contained in:
@@ -880,6 +880,7 @@ WantedBy=default.target`
|
|||||||
<div className="flex items-center space-x-2 mb-4">
|
<div className="flex items-center space-x-2 mb-4">
|
||||||
<CheckboxWithLabel
|
<CheckboxWithLabel
|
||||||
id="acceptClients"
|
id="acceptClients"
|
||||||
|
aria-describedby="acceptClients-desc"
|
||||||
checked={acceptClients}
|
checked={acceptClients}
|
||||||
onCheckedChange={(
|
onCheckedChange={(
|
||||||
checked
|
checked
|
||||||
@@ -913,14 +914,11 @@ WantedBy=default.target`
|
|||||||
"siteAcceptClientConnections"
|
"siteAcceptClientConnections"
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
<label
|
|
||||||
htmlFor="acceptClients"
|
|
||||||
className="text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
|
|
||||||
>
|
|
||||||
{}
|
|
||||||
</label>
|
|
||||||
</div>
|
</div>
|
||||||
<p className="text-sm text-muted-foreground mb-4">
|
<p
|
||||||
|
id="acceptClients-desc"
|
||||||
|
className="text-sm text-muted-foreground mb-4"
|
||||||
|
>
|
||||||
{t(
|
{t(
|
||||||
"siteAcceptClientConnectionsDescription"
|
"siteAcceptClientConnectionsDescription"
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in New Issue
Block a user