Sha256: 09dfb3afc43acb95f5cb785ecd056f9e063106403b7cbd7672b58a4991726a32
Contents?: true
Size: 372 Bytes
Versions: 2
Compression:
Stored size: 372 Bytes
Contents
module Rdfa module Partials def rdfa_link_to_tag term, tag_url, rdfa_options = {} render(:inline => %{ <% rdfa_has_tag "#{tag_url}" do %> <% rdfa_tag "#{tag_url}" do %> <% rdfa_label("#{term}") do %> <%= link_to("#{term}", "#{tag_url}") %> <%end%> <% end %> <% end %> }) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rdfa-0.0.6 | lib/rdfa/partials.rb |
rdfa-0.0.7 | lib/rdfa/partials.rb |