Sha256: 27a8b5872a23f9a235a0b99d05ed87b6e45399a3b8ebeddfee913c1c079fa376
Contents?: true
Size: 587 Bytes
Versions: 1
Compression:
Stored size: 587 Bytes
Contents
- if subfields.is_a? Array - subfields.each do |subfield| - if has_template? "_#{view_prefix}.#{field}" = render "#{view_prefix}.#{field}", :resource => resource, :name => field - else = render 'show.field', :resource => resource, :name => subfield, :view_prefix => view_prefix - elsif subfields.is_a? String or subfields.is_a? Symbol - if has_template? "_#{view_prefix}.#{field}" = render "#{view_prefix}.#{field}", :resource => resource, :name => field - else = render 'show.field', :resource => resource, :name => field, :view_prefix => view_prefix
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
releaf-0.1.2 | app/views/releaf/base/_show.fields.has_many_template.html.haml |