% content_for :heading do %> <%= t(".title") %> <% end %> <% content_for :description do %>
<%= t(".description_layout_p1") %>
<%= t(".description_layout_p2") %>
<%= t(".section_p_desktop") %>
<%= t(".section_p_tablet") %>
<%= t(".section_p_mobile") %>
<%= t(".section_p_code") %>
<% link_section_url = "https://github.com/decidim/decidim/tree/develop/decidim-core/app/views/layouts/decidim/shared" %><%= t(".section_p_code_html", link_section_code: link_to(link_section_url, link_section_url, target: "_blank", rel: "noopener noreferrer", class: "text-secondary underline")) %>
<%= t(".not_required") %>
<%= render layout: "layouts/decidim/shared/layout_two_col" do %>
...
<% end %>
<%= render layout: "layouts/decidim/shared/layout_two_col", locals: { reverse: true } do %>
...
<% end %>
<%= render layout: "layouts/decidim/shared/layout_center", locals: { columns: 10 } do %>
...
<% end %>
<%= t(".columns") %>
<%= t(".section_p_breakpoints") %>
<%= t(".breakpoint") %> | <%= t(".properties") %> | <% rows = [] rows << { breakpoint: "sm (640px)", properties: "max-width: 640px;" } rows << { breakpoint: "md (768px)", properties: "max-width: 768px;" } rows << { breakpoint: "lg (1024px)", properties: "max-width: 1024px;" } rows << { breakpoint: "xl (1280px)", properties: "max-width: 1280px;" } rows << { breakpoint: "2xl (1536px)", properties: "max-width: 1536px;" } rows.each do |row| %>
---|---|
<%= row[:breakpoint] %> | <%= row[:properties] %> |