Sha256: b2ccdfa01eaa46c0a546614d8b1d1796d704ec8e45aca81025dda5268724ee13

Contents?: true

Size: 746 Bytes

Versions: 12

Compression:

Stored size: 746 Bytes

Contents

<div class="picture_thumbnail assign_image_list_detail <%= size.blank? ? 'medium' : size %>" name="<%= picture_to_assign.name %>" id="picture_to_assign_<%= picture_to_assign.id %>">
  <% action_url = create_or_assign_url(picture_to_assign, @options.to_json) %>
  <%= link_to(
    image_tag(
      picture_to_assign.url(size: preview_size(size), flatten: true),
      alt: picture_to_assign.name
    ),
    action_url,
    remote: true,
    onclick: '$(self).attr("href", "#").off("click"); return false',
    method: @content.blank? ? 'post' : 'put',
    title: Alchemy.t(:assign_image),
    class: 'thumbnail_background'
  ) %>
  <div class="picture_name" title="<%= picture_to_assign.name %>">
    <%= picture_to_assign.name %>
  </div>
</div>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
alchemy_cms-3.6.7 app/views/alchemy/admin/pictures/_picture_to_assign.html.erb
alchemy_cms-3.6.6 app/views/alchemy/admin/pictures/_picture_to_assign.html.erb
alchemy_cms-3.6.5 app/views/alchemy/admin/pictures/_picture_to_assign.html.erb
alchemy_cms-3.6.4 app/views/alchemy/admin/pictures/_picture_to_assign.html.erb
alchemy_cms-3.6.3 app/views/alchemy/admin/pictures/_picture_to_assign.html.erb
alchemy_cms-3.6.2 app/views/alchemy/admin/pictures/_picture_to_assign.html.erb
alchemy_cms-3.6.1 app/views/alchemy/admin/pictures/_picture_to_assign.html.erb
alchemy_cms-4.0.0.beta app/views/alchemy/admin/pictures/_picture_to_assign.html.erb
alchemy_cms-3.6.0 app/views/alchemy/admin/pictures/_picture_to_assign.html.erb
alchemy_cms-3.5.0 app/views/alchemy/admin/pictures/_picture_to_assign.html.erb
alchemy_cms-3.5.0.rc2 app/views/alchemy/admin/pictures/_picture_to_assign.html.erb
alchemy_cms-3.5.0.rc1 app/views/alchemy/admin/pictures/_picture_to_assign.html.erb