Buckets

<% if @buckets.empty? %>

No buckets to list

<% else %> <% for bucket in @buckets %>

<%= link_to bucket.name, :action => 'show_bucket', :bucket_name => bucket.name %> | <%= link_to 'delete', {:action => 'delete', :bucket_name => bucket.name}, :confirm => 'Are you sure you want to delete this bucket?' %>

<% end %> <% end %>