Sha256: b1ea35e23bc4d4443ec4321a099e8cfcbf7e0ec901ee9589aeec40244679f7fb

Contents?: true

Size: 575 Bytes

Versions: 16

Compression:

Stored size: 575 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}".html_safe -%>
<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 => 'put',
		:title => file_to_assign.filename
	) %>
</div>

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
alchemy_cms-2.0.7 app/views/admin/attachments/_file_to_assign.html.erb
alchemy_cms-2.0.6.1 app/views/admin/attachments/_file_to_assign.html.erb
alchemy_cms-2.0.5 app/views/admin/attachments/_file_to_assign.html.erb
alchemy_cms-2.1.beta6 app/views/alchemy/admin/attachments/_file_to_assign.html.erb
alchemy_cms-2.0.4 app/views/admin/attachments/_file_to_assign.html.erb
alchemy_cms-2.1.beta5 app/views/alchemy/admin/attachments/_file_to_assign.html.erb
alchemy_cms-2.0.3.1 app/views/admin/attachments/_file_to_assign.html.erb
alchemy_cms-2.1.beta1 app/views/admin/attachments/_file_to_assign.html.erb
alchemy_cms-2.0.3 app/views/admin/attachments/_file_to_assign.html.erb
alchemy_cms-2.0.2 app/views/admin/attachments/_file_to_assign.html.erb
alchemy_cms-2.0.1 app/views/admin/attachments/_file_to_assign.html.erb
alchemy_cms-2.0 app/views/admin/attachments/_file_to_assign.html.erb
alchemy_cms-2.0.rc6 app/views/admin/attachments/_file_to_assign.html.erb
alchemy_cms-2.0.rc5 app/views/admin/attachments/_file_to_assign.html.erb
alchemy_cms-2.0.rc4 app/views/admin/attachments/_file_to_assign.html.erb
alchemy_cms-2.0.rc3 app/views/admin/attachments/_file_to_assign.html.erb