Sha256: e44ee54d875a6a8a60cec8bcc06d2f2c61b1822f1ca1eb84788a3c3b5f54aef3

Contents?: true

Size: 709 Bytes

Versions: 2

Compression:

Stored size: 709 Bytes

Contents

<%=content_for :data_controls do%>
<%=link_to "Upload File",new_spud_admin_medium_path(),:class => "button",:title => "Upload File"%>
<%end%>
<%=content_for :detail do%>
	<div class="page_list">
			<%@media.each do |media|%>
				<div class="page_row">
					
				<span class="row_meta"><%=image_tag(media.image_from_type,:height => 50)%><%=link_to media.attachment.url.split("/").last,media.attachment.url%></span>

				<span class="edit_controls"><%=link_to "Remove",spud_admin_medium_path(:id => media.id),:method => :delete,:class => 'button',:confirm => "Are you sure you want to remove this file?"%></span>
				<br style="clear:both;"/>
			</div>
			<%end%>
			<%=will_paginate @media%>

	</div>

<%end%>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spud_media-0.4.1 app/views/spud/admin/media/index.html.erb
spud_media-0.4.0 app/views/spud/admin/media/index.html.erb