Sha256: 8b8f2a3c6843de433dae5c1e995b7b94765d14ebe6df87e4a0c67e2176b3091a
Contents?: true
Size: 1.51 KB
Versions: 48
Compression:
Stored size: 1.51 KB
Contents
<% dialog_link = link_to_dialog render_icon(:file, style: 'regular'), alchemy.admin_attachments_path( content_id: essence_file_editor.id, only: essence_file_editor.settings[:only], except: essence_file_editor.settings[:except] ), { title: Alchemy.t(:assign_file), size: '780x585', padding: false }, class: 'file_icon', title: Alchemy.t(:assign_file) %> <%= content_tag :div, id: essence_file_editor.dom_id, class: essence_file_editor.css_classes, data: essence_file_editor.data_attributes do %> <%= content_label(essence_file_editor) %> <div class="file" id="file_<%= essence_file_editor.id %>"> <% if essence_file_editor.ingredient %> <div class="file_icon"> <%= render_icon(essence_file_editor.ingredient.icon_css_class) %> </div> <% else %> <%= dialog_link %> <% end %> <div class="file_name"> <%= essence_file_editor.ingredient.try(:name) || ("←" + Alchemy.t(:assign_file_from_archive)).html_safe %> </div> <div class="essence_file_tools"> <%= dialog_link %> <%= link_to_dialog render_icon(:edit), alchemy.edit_admin_essence_file_path(id: essence_file_editor.essence.id), { title: Alchemy.t(:edit_file_properties), size: '400x215' }, title: Alchemy.t(:edit_file_properties) %> </div> <%= hidden_field_tag essence_file_editor.form_field_name(:attachment_id), essence_file_editor.ingredient && essence_file_editor.ingredient.id %> </div> <% end %>
Version data entries
48 entries across 48 versions & 1 rubygems