clever-motherboard-43747
06/13/2023, 7:55 PMloud-jewelry-99127
06/13/2023, 9:39 PMloud-jewelry-99127
06/13/2023, 9:42 PMloud-jewelry-99127
06/13/2023, 9:44 PMclever-motherboard-43747
06/14/2023, 12:30 AMclever-motherboard-43747
06/14/2023, 12:31 AMlemon-wall-20836
06/14/2023, 1:24 PMlemon-wall-20836
06/14/2023, 1:24 PMlemon-wall-20836
06/14/2023, 1:25 PMAvo::Views::ResourceIndexComponent but that's not the way to go IMHO
https://github.com/avo-hq/avo/blob/main/app/components/avo/views/resource_index_component.html.erblemon-wall-20836
06/14/2023, 1:26 PMstack block and pass the fields inside thatlemon-wall-20836
06/14/2023, 1:27 PMruby
stack do
field :state, as: :text, width: "25%"
field :town, as: :text, width: :one_quarter
field :street_address, as: :text, width: :one_half
endlemon-wall-20836
06/14/2023, 1:27 PMlemon-wall-20836
06/14/2023, 1:28 PMclever-motherboard-43747
06/14/2023, 1:50 PMclever-motherboard-43747
06/14/2023, 1:53 PMlemon-wall-20836
06/14/2023, 2:01 PMrow would be a better alternativelemon-wall-20836
06/14/2023, 2:01 PMlemon-wall-20836
06/14/2023, 2:01 PMlemon-wall-20836
06/14/2023, 2:05 PMrow feature
I would start from the has_fields.rb fiel to add the row method, then add a builder for it and then go for the item_switcher_component.rb to display the rowlemon-wall-20836
06/14/2023, 2:05 PMclever-motherboard-43747
06/14/2023, 4:18 PMlemon-wall-20836
06/14/2023, 4:34 PMlemon-wall-20836
06/14/2023, 4:34 PMlemon-wall-20836
06/14/2023, 4:34 PM