Sha256: a5b04cd80d9da7687c5b8dad898b04203ec67523a2cd60859a9b1f4d0c3567c0

Contents?: true

Size: 632 Bytes

Versions: 35

Compression:

Stored size: 632 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 -%>
<li class="assign_file_file <%= cycle('even', 'odd') %>" 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
  ) %>
</li>

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
alchemy_cms-2.5.3.1 app/views/alchemy/admin/attachments/_file_to_assign.html.erb
alchemy_cms-2.5.3 app/views/alchemy/admin/attachments/_file_to_assign.html.erb
alchemy_cms-2.5.2.2 app/views/alchemy/admin/attachments/_file_to_assign.html.erb
alchemy_cms-2.5.1 app/views/alchemy/admin/attachments/_file_to_assign.html.erb
alchemy_cms-2.5.0 app/views/alchemy/admin/attachments/_file_to_assign.html.erb
alchemy_cms-2.5.0.rc3 app/views/alchemy/admin/attachments/_file_to_assign.html.erb
alchemy_cms-2.5.0.b9 app/views/alchemy/admin/attachments/_file_to_assign.html.erb
alchemy_cms-2.3.2 app/views/alchemy/admin/attachments/_file_to_assign.html.erb
alchemy_cms-2.2.4 app/views/alchemy/admin/attachments/_file_to_assign.html.erb
alchemy_cms-2.4.1 app/views/alchemy/admin/attachments/_file_to_assign.html.erb
alchemy_cms-2.5.0.b5 app/views/alchemy/admin/attachments/_file_to_assign.html.erb
alchemy_cms-2.5.0.b2 app/views/alchemy/admin/attachments/_file_to_assign.html.erb
alchemy_cms-2.4.0 app/views/alchemy/admin/attachments/_file_to_assign.html.erb
alchemy_cms-2.4.rc4 app/views/alchemy/admin/attachments/_file_to_assign.html.erb
alchemy_cms-2.4.rc2 app/views/alchemy/admin/attachments/_file_to_assign.html.erb
alchemy_cms-2.4.rc1 app/views/alchemy/admin/attachments/_file_to_assign.html.erb
alchemy_cms-2.3.1 app/views/alchemy/admin/attachments/_file_to_assign.html.erb
alchemy_cms-2.4.beta2 app/views/alchemy/admin/attachments/_file_to_assign.html.erb
alchemy_cms-2.2.3.2 app/views/alchemy/admin/attachments/_file_to_assign.html.erb
alchemy_cms-2.2.3.1 app/views/alchemy/admin/attachments/_file_to_assign.html.erb