Sha256: 1cc70bd6f9810080cd093fec81d805f1a270bb13dca6fd7f895cc8a65519ddcd
Contents?: true
Size: 379 Bytes
Versions: 3
Compression:
Stored size: 379 Bytes
Contents
%h2 <%= singular_name %> <% attributes.each do |attribute| -%> %p <% if attribute.type == :text %> = @<%= singular_name %>.<%= attribute.name %>.html_safe <% elsif attribute.type == :asset %> %img{:src => "#{@<%= singular_name %>.<%= attribute.name %>.url_for(:wysiwyg_medium_size)}"} <% else %> = @<%= singular_name %>.<%= attribute.name %> <% end %> <% end %>
Version data entries
3 entries across 3 versions & 1 rubygems