You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
935 B
30 lines
935 B
<%= render GovukComponent::AccordionComponent.new(id: 'abc123') do |component| |
|
component.section( |
|
heading_text: 'Home electronics', |
|
summary_text: 'Entertainment, communication and recreation', |
|
expanded: true) do |
|
tag.p(class: 'govuk-body') do |
|
"Lorem ipsum dolor sit amet, consectetur adipiscing elit." |
|
end |
|
end |
|
|
|
component.section(heading_text: 'Appliances', summary_text: 'Laundry, cookers and vacuum cleaners') do |
|
tag.p(class: 'govuk-body') do |
|
"Ut et elementum tortor. Donec a tellus sed sem euismod congue" |
|
end |
|
end |
|
|
|
component.section(heading_text: 'Toys') do |
|
safe_join([ |
|
tag.p(class: 'govuk-body') do |
|
"In et nunc vitae tortor sollicitudin ultrices. Vivamus a purus justo." |
|
end, |
|
|
|
tag.p(class: 'govuk-body') do |
|
"Duis a turpis non nunc pulvinar venenatis quis congue mauris" |
|
end |
|
]) |
|
end |
|
end %> |
|
|
|
<%= link_to('About', about_path) %>
|
|
|