Sha256: 75930294dbb616bd0bd5b93d394f96fd45212f0c071f7761ee887a5ae7fb634d

Contents?: true

Size: 575 Bytes

Versions: 6

Compression:

Stored size: 575 Bytes

Contents

<div class="asset-drop">
	<%= hidden_field object_name, method, :value => drop.try(:id) %>
	<%= link_to 'Remove', '#', :class => 'asset-action asset-remove' + (drop ? '' : ' hide') %>
	<%= link_to 'Select', '#', :class => 'asset-action asset-select' %>
	<div class="droppable">
		<% if drop %>
			<%= link_to image_tag(drop.thumbnail, :size => '75x75'), ample_assets.file_path(drop), 'data-uid' => drop.attachment_uid, 'data-orientation' => drop.orientation, 'data-gravity' => drop.attachment_gravity %>
		<% else %>
			<span>Drag Asset Here</span>
		<% end %>
	</div>
</div>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ample_assets-0.0.7 app/views/ample_assets/files/_drop.html.erb
ample_assets-0.0.6 app/views/ample_assets/files/_drop.html.erb
ample_assets-0.0.4 app/views/ample_assets/files/_drop.html.erb
ample_assets-0.0.3 app/views/ample_assets/files/_drop.html.erb
ample_assets-0.0.2 app/views/ample_assets/files/_drop.html.erb
ample_assets-0.0.1 app/views/ample_assets/files/_drop.html.erb