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 %> <%= start_form_tag :action => 'create_bucket' %>

Create a new bucket: <%= text_field 'bucket', 'name' %>

Use your default bucket prefix (<%= @default_prefix %>)? <%= check_box_tag 'bucket[prefix]', 1, true %>

<%= submit_tag 'Create' %>

<%= end_form_tag %>