Sha256: bc6818f26ed7672897cdeaee696d0a3ef8f16d284fff1b07d9ee2674fa3b648f

Contents?: true

Size: 629 Bytes

Versions: 38

Compression:

Stored size: 629 Bytes

Contents

# frozen_string_literal: true

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

				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

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
phlex-1.4.2 fixtures/page.rb
phlex-1.5.3 fixtures/page.rb
phlex-1.6.3 fixtures/page.rb
phlex-1.7.2 fixtures/page.rb
phlex-1.8.3 fixtures/page.rb
phlex-1.9.2 fixtures/page.rb
phlex-1.0.1 fixtures/page.rb
phlex-1.1.1 fixtures/page.rb
phlex-1.2.2 fixtures/page.rb
phlex-1.3.3 fixtures/page.rb
phlex-1.4.1 fixtures/page.rb
phlex-1.5.2 fixtures/page.rb
phlex-1.6.2 fixtures/page.rb
phlex-1.7.1 fixtures/page.rb
phlex-1.8.2 fixtures/page.rb
phlex-1.9.1 fixtures/page.rb
phlex-1.9.0 fixtures/page.rb
phlex-1.8.1 fixtures/page.rb
phlex-1.8.0 fixtures/page.rb
phlex-1.7.0 fixtures/page.rb