Sha256: 2aa2aabc217e76f749a8d477591ff2dde154f7cf923e7967ccb8c01082fc865f

Contents?: true

Size: 566 Bytes

Versions: 6

Compression:

Stored size: 566 Bytes

Contents

<%-
	prefix = "<div class=\"assign_file_file_icon\">"
	suffix = "</div><div class=\"assign_file_file_name\">#{file_to_assign.filename}</div>"
-%>
<%- img_tag = "#{prefix}#{render_icon(file_to_assign.icon_css_class)}#{suffix}" -%>
<div class="assign_file_file" name="<%= file_to_assign.filename %>">
	<%= link_to(
		img_tag,
		{
			:controller => :essence_files,
			:action => :assign,
			:attachment_id => file_to_assign.id,
			:id => @content.id,
			:options => @options
		},
		:remote => true,
		:method => 'post',
		:title => file_to_assign.filename
	) %>
</div>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
alchemy_cms-2.0.rc2 app/views/admin/attachments/_file_to_assign.html.erb
alchemy_cms-2.0.rc1 app/views/admin/attachments/_file_to_assign.html.erb
alchemy_cms-2.0.pre5 app/views/admin/attachments/_file_to_assign.html.erb
alchemy_cms-2.0.pre4 app/views/admin/attachments/_file_to_assign.html.erb
alchemy_cms-2.0.pre3 app/views/admin/attachments/_file_to_assign.html.erb
alchemy_cms-2.0.pre2 app/views/admin/attachments/_file_to_assign.html.erb