Sha256: 29f9f79273165db954d2f7c717622ddd3b05a105b1369fd94b936bc646959502
Contents?: true
Size: 1.55 KB
Versions: 2
Compression:
Stored size: 1.55 KB
Contents
<% title h(@album.title) %> <%= stylesheet( 'dust_album','uploadify') %> <% content_for :head do %> <%= javascript_include_tag 'dragsort', 'dust_album' %> <% end -%> <%= render :partial => "upload_script" %> <div class="item"> <div class='manage'> <%= link_to "", edit_album_path(@album), :class => 'edit' %> <%= link_to "", @album, :confirm => 'Are you sure?', :method => :delete, :class => 'destroy' %> </div> <h1> <%= link_to @album.title, view_album_path(@album.filename) %> </h1> <%= simple_format(h(@album.desc)) %> </div> <div class="item"> <div class="manage"> <br /> <%= link_to image_tag('save_position.png'), photos_path, :id => 'order_photos' %> </div> <h3 id="photos_count"><%= pluralize(@album.photos.size, "Photo")%> <% unless @album.photos.empty? %> | <%= link_to "Select Photos For Deletion", manage_photos_path(@album), :class => 'settings' %> <% end %> </h3> <p>Drag photos to reorder them. Don't forget to hit the save order button when your done.</p> <ul id="uploads"> <%= render :partial => @album.photos.roots, :photo => @photo %> </ul> <div class="clear"></div> </div> <% content_for :left do -%> <div id="uploadify"> <h3>Add Photos to <%= @album.title.titleize %></h3> <% form_for @new_photo, :html => {:multipart => true} do |f| %> <%= f.hidden_field :album_id, "value" => @album.id %> <div class="uploadifyButtons"> <%= image_submit_tag "Upload.png", :id => "photo_submit", :name => 'commit' %> <%= f.file_field :file %> <div class='clear'></div> </div> <% end %> </div> <% end -%>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
dust-generators-0.1.9 | rails_generators/dust_albums/templates/app/views/albums/show.html.erb |
dust-generators-0.1.8 | rails_generators/dust_albums/templates/app/views/albums/show.html.erb |