Sha256: b01e519c4e3df116974379d18707a7a293a070ea42f403d53a38d96c9cf948b3
Contents?: true
Size: 303 Bytes
Versions: 3
Compression:
Stored size: 303 Bytes
Contents
module Vapid module Directives # Href directive class Href < Vapid::Directive # Render renders :attributes do |input| { href: input } if input.present? end # Form form do |name, value| url_field_tag name, value: value end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
vapid-0.1.3 | lib/vapid/directives/href.rb |
vapid-0.1.2 | lib/vapid/directives/href.rb |
vapid-0.1.1 | lib/vapid/directives/href.rb |