Sha256: 12bd0a8e841d851e8b5111cd489b3151266320f3c38eff278670faa661788651
Contents?: true
Size: 644 Bytes
Versions: 4
Compression:
Stored size: 644 Bytes
Contents
# frozen_string_literal: true module Example class Page < Phlex::View def template render LayoutComponent.new do h1 "Hi" 5.times do div do 10.times do a "Test", href: "something", unique: SecureRandom.uuid, data: { value: 1 } end end end table do thead do 10.times do tr do th "Hi" end end end tbody do 100.times do tr class: "a b c d e f g", id: "something" do 10.times do td class: "f g h i j k l" do span "Test" end end end end end end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
phlex-0.4.0 | fixtures/page.rb |
phlex-0.3.2 | fixtures/page.rb |
phlex-0.3.1 | fixtures/page.rb |
phlex-0.3.0 | fixtures/page.rb |