<.field
field={@form[:radio_card]}
type="radio-card"
label="Radio card"
options={[
%{label: "8-core CPU", value: "high", description: "32 GB RAM"},
%{label: "6-core CPU", value: "mid", description: "24 GB RAM"},
%{
label: "4-core CPU",
value: "low",
description: "16 GB RAM",
disabled: true
}
]}
size="sm"
variant="outline"
group_layout="row"
help_text="Choose the plan that best suits your needs."
required
/>
<.field
field={@form[:radio_card]}
type="radio-card"
label="Radio card"
options={[
%{label: "8-core CPU", value: "high", description: "32 GB RAM"},
%{label: "6-core CPU", value: "mid", description: "24 GB RAM"},
%{
label: "4-core CPU",
value: "low",
description: "16 GB RAM",
disabled: true
}
]}
size="md"
variant="classic"
group_layout="row"
help_text="Choose the plan that best suits your needs."
required
/>
<.field
field={@form[:radio_card]}
type="radio-card"
label="Radio card"
options={[
%{label: "8-core CPU", value: "high", description: "32 GB RAM"},
%{label: "6-core CPU", value: "mid", description: "24 GB RAM"},
%{
label: "4-core CPU",
value: "low",
description: "16 GB RAM",
disabled: true
}
]}
size="lg"
variant="outline"
group_layout="row"
help_text="Choose the plan that best suits your needs."
required
/>