Sha256: 208dd92c54fbe6e56e3cbc5c3f2dd26c20b24e4fdd2b5b56d4a05f25bb2de7f1

Contents?: true

Size: 832 Bytes

Versions: 4

Compression:

Stored size: 832 Bytes

Contents

<% content_for :left do %>
  <%= button_link_to('Upload An Image', new_admin_gallery_image_path(@gallery), :class => 'remote', :icon => 'upload') %>
  <%= button_link_to('Upload Multiple', upload_admin_gallery_images_path(@gallery), :class => 'remote', :icon => 'upload') %>
<% end %>
<h1 class="galleries icon"><%= @gallery.name %> <%= button_link_to('Edit', edit_admin_gallery_path(@gallery), :class => 'remote', :icon => 'edit') %></h1>
<% if @gallery.images.empty? -%>
<div class="inset">
  <h2>You haven't uploaded any images!</h2>
  <b class="grey">Get started:</b> <%= button_link_to('Upload an Image', new_admin_gallery_image_path(@gallery), :class => 'remote') %>
</div>
<% else -%>
<div class="images sortable">
  <%= render :partial => 'gallery', :locals => {:gallery => @gallery, :editable => true} %>
</div>
<% end -%>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
grandstand-0.2.4 app/views/admin/galleries/show.html.erb
grandstand-0.2.3 app/views/admin/galleries/show.html.erb
grandstand-0.2.2 app/views/admin/galleries/show.html.erb
grandstand-0.2.1 app/views/admin/galleries/show.html.erb