<% if (count = Gallery.count).zero? -%>

You haven't set up any galleries!

Get started: <%= button_link_to('Add a Gallery', new_admin_gallery_path, :class => 'remote') %> <% else %>

You have <%= pluralize(count, 'gallery') %>

<%= button_link_to('Visit', admin_galleries_path) %> <%= button_link_to('Add Another One', new_admin_gallery_path, :class => 'grey remote') %> <% end -%>