Sha256: 91edf334d669bef4be2aa1826f8ab99f8313632c862dea41ecbaffd87d1c7d08

Contents?: true

Size: 189 Bytes

Versions: 12

Compression:

Stored size: 189 Bytes

Contents

# frozen_string_literal: true

class Views::Articles::Link < Phlex::HTML
  include Phlexible::Rails::AElement

  def template
    a(href: :root, class: :foo) { 'A link to root' }
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
phlexible-1.0.0 fixtures/dummy/app/views/articles/link.rb
phlexible-1.0.0.beta.1 fixtures/dummy/app/views/articles/link.rb
phlexible-0.7.0 fixtures/dummy/app/views/articles/link.rb
phlexible-0.6.2 fixtures/dummy/app/views/articles/link.rb
phlexible-0.6.1 fixtures/dummy/app/views/articles/link.rb
phlexible-0.6.0 fixtures/dummy/app/views/articles/link.rb
phlexible-0.5.0 fixtures/dummy/app/views/articles/link.rb
phlexible-0.4.2 fixtures/dummy/app/views/articles/link.rb
phlexible-0.4.1 fixtures/dummy/app/views/articles/link.rb
phlexible-0.4.0 fixtures/dummy/app/views/articles/link.rb
phlexible-0.3.0 fixtures/dummy/app/views/articles/link.rb
phlexible-0.2.0 fixtures/dummy/app/views/articles/link.rb