Commit d072ab1
committed
Update checkbox group example to use collections
Use Field(:role_ids).collection instead of manual name construction.
The collection handles naming and data binding; the user controls markup.1 parent 8c84da4 commit d072ab1
1 file changed
Lines changed: 5 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
404 | 404 | | |
405 | 405 | | |
406 | 406 | | |
407 | | - | |
408 | | - | |
409 | | - | |
| 407 | + | |
| 408 | + | |
410 | 409 | | |
411 | 410 | | |
412 | | - | |
| 411 | + | |
413 | 412 | | |
414 | | - | |
415 | | - | |
| 413 | + | |
| 414 | + | |
416 | 415 | | |
417 | 416 | | |
418 | 417 | | |
| |||
0 commit comments