%{ :href => url_for('buckets/new'), :'data-icon' => :plus, :'data-role' => :button, :class => 'ui-btn-right'} Create new bucket
%div{ :'data-role' => :content, :'data-theme' => 'c'}
%l{ :'data-role' => :listview , :'data-inset' => :true, :'data-divider-theme' => 'a'} - elements.each do |bucket| %i %{ :href => bucket_url(bucket.id), :'data-ajax' => 'false'} %mg{ :class => 'ui-link-thumb', :src => '/images/bucket.png'} %3=bucket.name %=bucket.id