Sha256: 7407e8380ef5af56363ee1678aa1a0f52b91c1dd98f7c2a033c714c7dd951eec

Contents?: true

Size: 746 Bytes

Versions: 1

Compression:

Stored size: 746 Bytes

Contents

<div id="post_assets">
	<h4 class='primary'>Files and Images</h4>
	<%= link_to 'Upload a File', '', id:'upload_file_link', rel: "asset[file]", 
				data: { 
					ui_button: 'plusthick',
					upload_path: "#{transit.package_assets_path(resource_type: resource_class.name, resource_id: resource.id.to_s, auth_token: current_user.authentication_token)}"
				} %>
	<ul id="asset_image_list">
		<li class='header'><h4>Images</h4></li>
		<% resource.images.each do |image| %>
		<%= render(partial: 'transit/assets/image', object: image) %>
		<% end %>
	</ul>
	<ul id="asset_file_list">
		<li class='header'><h4>Files</h4></li>
		<% resource.files.each do |file| %>
		<%= render(partial: 'transit/assets/file', object: file) %>
		<% end %>
	</ul>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
transit-0.0.2 app/views/transit/assets/manage.html.erb