Sha256: e0dcc1cb39a9150c6fa7012b99e1c21a8a6d86bd4005c145b14bcbd632c622f5

Contents?: true

Size: 447 Bytes

Versions: 6

Compression:

Stored size: 447 Bytes

Contents

unless object.blank?
  xml.a( "name" => "#{class_name}")  { }
  xml.h3  { |pre| pre << "#{class_name} #{ancestors.blank? ? "" : "<small>(extends <a href='##{ancestors[0].to_s.classify}'>#{ancestors[0].to_s.classify}</a>)</small>" } " }


  if object.is_a?(WashOut::Param)
    xml.ul("class" => "pre") {
      object.map.each do |element|
        xml.li { |pre|
          create_element_type_html(pre, element)
        }
      end
    }
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
washout_builder-0.16.5 app/views/wash_with_html/_complex_type.builder
washout_builder-0.16.4 app/views/wash_with_html/_complex_type.builder
washout_builder-0.16.3 app/views/wash_with_html/_complex_type.builder
washout_builder-0.16.2 app/views/wash_with_html/_complex_type.builder
washout_builder-0.16.1 app/views/wash_with_html/_complex_type.builder
washout_builder-0.16.0 app/views/wash_with_html/_complex_type.builder