Sha256: 0e5da9aa25dcf634ffaf679479cb30cdc20c1d1c4b6e55d4db5148fe2e2afbaf

Contents?: true

Size: 678 Bytes

Versions: 2

Compression:

Stored size: 678 Bytes

Contents

# frozen_string_literal: true

module Example
	class Page < Phlex::HTML
		def view_template
			render LayoutComponent.new do
				h1 { "Hi" }

				100.times do
					table id: "test", class: "a b c d e f g" do
						tr do
							td id: "test", class: "a b c d e f g" do
								span { "Hi" }
							end

							td id: "test", class: "a b c d e f g" do
								span { "Hi" }
							end

							td id: "test", class: "a b c d e f g" do
								span { "Hi" }
							end

							td id: "test", class: "a b c d e f g" do
								span { "Hi" }
							end

							td id: "test", class: "a b c d e f g" do
								span { "Hi" }
							end
						end
					end
				end
			end
		end
	end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
phlex-1.10.1 fixtures/page.rb
phlex-1.10.0 fixtures/page.rb