Sha256: d84d49d0e3f6c1deb1ea1e0b3a05c411a2b548db39a64166e83fe6d6acf3e440

Contents?: true

Size: 737 Bytes

Versions: 14

Compression:

Stored size: 737 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) %>
  <%= 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

14 entries across 14 versions & 1 rubygems

Version Path
alchemy_cms-4.0.6 app/views/alchemy/admin/pictures/_picture_to_assign.html.erb
alchemy_cms-4.1.2 app/views/alchemy/admin/pictures/_picture_to_assign.html.erb
alchemy_cms-4.1.1 app/views/alchemy/admin/pictures/_picture_to_assign.html.erb
alchemy_cms-4.1.0 app/views/alchemy/admin/pictures/_picture_to_assign.html.erb
alchemy_cms-4.0.5 app/views/alchemy/admin/pictures/_picture_to_assign.html.erb
alchemy_cms-4.0.4 app/views/alchemy/admin/pictures/_picture_to_assign.html.erb
alchemy_cms-4.1.0.rc1 app/views/alchemy/admin/pictures/_picture_to_assign.html.erb
alchemy_cms-4.0.3 app/views/alchemy/admin/pictures/_picture_to_assign.html.erb
alchemy_cms-4.0.2 app/views/alchemy/admin/pictures/_picture_to_assign.html.erb
alchemy_cms-4.1.0.beta app/views/alchemy/admin/pictures/_picture_to_assign.html.erb
alchemy_cms-4.0.1 app/views/alchemy/admin/pictures/_picture_to_assign.html.erb
alchemy_cms-4.0.0 app/views/alchemy/admin/pictures/_picture_to_assign.html.erb
alchemy_cms-4.0.0.rc2 app/views/alchemy/admin/pictures/_picture_to_assign.html.erb
alchemy_cms-4.0.0.rc1 app/views/alchemy/admin/pictures/_picture_to_assign.html.erb