Sha256: 5611b4ed6eb332ced6893254c018b213770fd452f57ad58ffeae4322ea27a90c

Contents?: true

Size: 973 Bytes

Versions: 2

Compression:

Stored size: 973 Bytes

Contents

<% content_for :left do %>
  <%= button_link_to('Upload An Image', new_grandstand_gallery_image_path(@gallery), :class => 'remote', :icon => 'upload') %>
  <%= button_link_to('Upload Multiple', upload_grandstand_gallery_images_path(@gallery), :class => 'remote', :icon => 'upload') %>
<% end %>
<h1 class="galleries icon">
  <%= @gallery.name %>
  <%= button_link_to('Edit', edit_grandstand_gallery_path(@gallery), :class => 'remote', :icon => 'edit') %>
  <%= button_link_to('Delete', delete_grandstand_gallery_path(@gallery), :class => 'remote', :icon => 'delete') %>
</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_grandstand_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

2 entries across 2 versions & 1 rubygems

Version Path
grandstand-0.2.7 app/views/grandstand/galleries/show.html.erb
grandstand-0.2.6 app/views/grandstand/galleries/show.html.erb