1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<%# Checkbox %><label class="card card--selectable p-3 flex items-start"> <%= check_box_tag :enable_notifications, 1, true, class: "checkbox" %> <div class="flex flex-col mis-3"> <h5 class="text-sm leading-none mbe-1 font-medium">Enable notifications</h5> <p class="text-sm text-subtle">You can enable or disable notifications at any time.</p> </div></label><%# Radio %><div class="flex flex-col gap"> <label class="card card--selectable p-3 flex items-start"> <%= radio_button_tag :plan, :starter_plan, 1, class: "checkbox" %> <div class="flex flex-col mis-3"> <h5 class="text-sm leading-none font-medium mbe-1">Starter Plan</h5> <p class="text-sm text-subtle">Perfect for small businesses getting started with our platform.</p> </div> </label> <label class="card card--selectable p-3 flex items-start"> <%= radio_button_tag :plan, :pro_plan, class: "checkbox" %> <div class="flex flex-col mis-3"> <h5 class="text-sm leading-none font-medium mbe-1">Pro Plan</h5> <p class="text-sm text-subtle">Advanced features for growing businesses with higher demands.</p> </div> </label></div>