Sha256: 6147f638bf43a0695469df914a905279d8dcbbde04fe0f49e31ab1f64f0d4a13
Contents?: true
Size: 751 Bytes
Versions: 25
Compression:
Stored size: 751 Bytes
Contents
<div style="margin: 20px; padding: 0 0 20px 0;"> <h2 style="margin: 0px; padding: 10px 10px 5px 10px; background: #eee; border-left: 10px solid #ccc; color: #333;"><%= section_title.titleize unless section_title.nil? -%></h2> <% if data.is_a?(Array) then data = data[0] end -%> <% data.each do |key, value| -%> <% if !key.nil? && !value.nil? -%> <p style="margin: 10px; padding: 0px;"> <span style="float:left; width:150px; padding: 10px 10px 0;"><%= key %></span> <span style="float:left; width:490px; padding: 10px 10px 0;"><%= value.is_a?(Array) ? value.to_sentence : value.is_a?(String) ? value : value.inspect%></span> </p> <% end -%> <% end unless data.nil?-%> <p style="clear:both"></p> </div>
Version data entries
25 entries across 25 versions & 4 rubygems