-if portfolio_image.photo?

		
	#portfolio_image.portfolio_image_block{:id => portfolio_image.id}
	
		=image_tag portfolio_image.photo.url+"?"+portfolio_image.updated_at.to_s, :class => "image"
		%p.title
			=portfolio_image.title
			=l portfolio_image.shoot_at, :format => :date if portfolio_image.shoot_at
		
		
		.admin
			= link_to i(:rotate, :gray_light, "12x14"), rotate_admin_portfolio_image_path(:id => portfolio_image.id, :manager => params[:manager], :multiple => params[:multiple]), :remote => true
			= link_to i(:rotate_right, :gray_light, "12x14"), rotate_admin_portfolio_image_path(:id => portfolio_image.id, :manager => params[:manager], :multiple => params[:multiple], :direction => :right), :remote => true
			=link_to "modifier", edit_admin_portfolio_image_path(portfolio_image)
			=link_to "supprimer", [:admin, portfolio_image], :method => :delete, :confirm => "Voulez-vous vraiment supprimer cette image ?", :remote => true
	%br
	
	