Sha256: 7a1a696283110bae55b43a78b1d5189c65780c2a0e74fefe0748b242064849ab

Contents?: true

Size: 1.03 KB

Versions: 8

Compression:

Stored size: 1.03 KB

Contents

<li id="<%%= "<%=child_singular_name%>_#{<%=child_singular_name%>.id}" %>">
	<div class="<%=child_singular_name%> <%%= "<%=child_singular_name%>_#{<%=child_singular_name%>.id}" %>"> 
		<script type="text/javascript" charset="utf-8">
			$("a.settings").fancybox({
				'showCloseButton' : false,
				'transitionIn'	:	'elastic',
				'transitionOut'	:	'elastic',
				'speedIn'		:	400, 
				'speedOut'		:	200,
				'hideOnContentClick': false,
				'overlayOpacity' : 0.6,
				'overlayColor' : '#000',
				'opacity' : 'true'
			});
		</script>
		<%%= image_tag <%=child_singular_name%>.file.url(:thumb), :height => '50' %>
		<p>
			<%%= truncate <%=child_singular_name%>.title, :length => 23 %> <br />
			<%% unless <%=child_singular_name%>.date_shot.blank? %>
				(<%%= <%=child_singular_name%>.date_shot %>)
			<%% end -%>
			<%%= link_to "Edit <%=child_class_name%>", edit_<%=child_singular_name%>_path(<%=child_singular_name%>.id)+'?edit=<%=child_singular_name%>', :class => "settings", :title => "<%=child_class_name%> Settings" %>
		</p>
	</div>
</li>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
dust-generators-0.2.8 rails_generators/dust_albums/templates/app/views/photos/_photo.html.erb
dust-generators-0.2.6 rails_generators/dust_albums/templates/app/views/photos/_photo.html.erb
dust-generators-0.2.5 rails_generators/dust_albums/templates/app/views/photos/_photo.html.erb
dust-generators-0.2.4 rails_generators/dust_albums/templates/app/views/photos/_photo.html.erb
dust-generators-0.2.3 rails_generators/dust_albums/templates/app/views/photos/_photo.html.erb
dust-generators-0.2.2 rails_generators/dust_albums/templates/app/views/photos/_photo.html.erb
dust-generators-0.2.1 rails_generators/dust_albums/templates/app/views/photos/_photo.html.erb
dust-generators-0.2.0 rails_generators/dust_albums/templates/app/views/photos/_photo.html.erb