Sha256: 6deeef7c89af8fde1227025b495f162f75469c2bd39ccaec8a0bccd2e860f478
Contents?: true
Size: 414 Bytes
Versions: 12
Compression:
Stored size: 414 Bytes
Contents
module ApplicationHelper module Amp::PlaceholderTagHelper def amp_placeholder(name, options = {}, &block) options = options.symbolize_keys options[:placeholder] = "" if block_given? content_tag(name, capture(&block), options) else content_tag(name, nil, options) end end end end
Version data entries
12 entries across 12 versions & 1 rubygems