Sha256: ce0b109946462cf10275d623c65aa9a78e1d4337ca3740976b7642ed42ecc1ae

Contents?: true

Size: 1.13 KB

Versions: 16

Compression:

Stored size: 1.13 KB

Contents

<% title h(@album.title) %>
<% heading h(@album.title.titleize) %>

<%= stylesheet( 'dust_album','uploadify') %>

<%= 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>
	
  <%= simple_format(h(@album.desc)) %>
</div>

<div class="item">
	
	<h3 id="photos_count"><%= pluralize(@album.photos.size, "Photo")%> <% unless @album.photos.empty? %> | <%= link_to "Manage Photos", photos_path %>  <% end %></h3>
	<div id="uploads"> 
		<%= render @album.photos %>
	</div>

	<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

16 entries across 16 versions & 2 rubygems

Version Path
dust-generators-0.2.3 lib/generators/dust/albums/templates/app/views/albums/show.html.erb
dust-generators-0.2.2 lib/generators/dust/albums/templates/app/views/albums/show.html.erb
dust-generators-0.2.1 lib/generators/dust/albums/templates/app/views/albums/show.html.erb
dust-generators-0.2.0 lib/generators/dust/albums/templates/app/views/albums/show.html.erb
dust-generators-0.1.9 lib/generators/dust/albums/templates/app/views/albums/show.html.erb
dust-generators-0.1.8 lib/generators/dust/albums/templates/app/views/albums/show.html.erb
dust-generators-0.1.7 lib/generators/dust/albums/templates/app/views/albums/show.html.erb
dust-generators-0.1.6 lib/generators/dust/albums/templates/app/views/albums/show.html.erb
dust-generators-0.1.5 lib/generators/dust/albums/templates/app/views/albums/show.html.erb
dust-generators-0.1.4 lib/generators/dust/albums/templates/app/views/albums/show.html.erb
dust-generators-0.1.3 lib/generators/dust/albums/templates/app/views/albums/show.html.erb
dust-generators-0.1.2 lib/generators/dust/albums/templates/app/views/albums/show.html.erb
dust-generators-0.1.1 lib/generators/dust/albums/templates/app/views/albums/show.html.erb
dust-generators-0.1.0 lib/generators/dust/albums/templates/app/views/albums/show.html.erb
dust-generators-0.0.3 lib/generators/dust/albums/templates/app/views/albums/show.html.erb
dust_albums-0.0.2 app/views/albums/show.html.erb