Sha256: 4f43c4801434f66f104d7563882f9051aa2aada885c7d7cd143dab2af33f6e47

Contents?: true

Size: 426 Bytes

Versions: 2

Compression:

Stored size: 426 Bytes

Contents

!!! XML
%images
  - @elements.each do |image|
    %image{:href => image_url(image.id), :id => image.id}
      - image.attributes.select{ |attr| attr!=:id }.each do |attribute|
        - haml_tag("#{attribute}".tr('-', '_'), :<) do
          - if [:name, :description].include?(attribute)
            =cdata do
              - haml_concat image.send(attribute)
          - else
            - haml_concat image.send(attribute)

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
steamcannon-deltacloud-core-0.1.2.1 views/images/index.xml.haml
deltacloud-core-0.1.2 views/images/index.xml.haml