blob: ca2c1c960e92b546c242c2bbdbd6470ccbf4084a [file] [log] [blame]
- unless defined?(partial)
!!! XML
%bucket{:href => bucket_url(bucket.id), :id => bucket.id}
- bucket.attributes.select{ |attr| attr!=:id }.each do |attribute|
- unless attribute == :blob_list
-haml_tag(attribute, :<) do
- haml_concat bucket.send(attribute)
- if bucket.blob_list
- bucket.blob_list.each do |blb|
%blob{:id => blb, :href => bucket_url(bucket.id) +"/#{blb}"}