Sha256: 24302a9b14bdf0534edef8b001e0d4929373b94da47dff1ea838de50f1328915
Contents?: true
Size: 1.38 KB
Versions: 12
Compression:
Stored size: 1.38 KB
Contents
<% taxonomy = parent_resource %> <% taxon = child_resource %> <div class="sortable-tree-item-row d-flex flex-nowrap"> <div class="move-handle d-flex align-items-center p-3"> <%= svg_icon(name: 'grip-vertical.svg', width: '20', height: '20') %> </div> <div class="d-flex align-items-center overflow-hidden w-100"> <div class="overflow-hidden"> <%= taxon.name %> <!-- TODO: Taxon Paths do not update in view, fix with Turbo Frames. <h6 class="form-text text-muted mt-0 mb-1"> <span class="badge badge-pill badge-light badge-light-muted-text"><%#= svg_icon(name: 'link.svg', width: '16', height: '16') %> <%= taxon.permalink %></span> </h6> --> <small class="form-text text-muted mt-0 mb-1"> <%= Spree.t('admin.taxonomies.submenu') %>: <%= active_badge(!taxon.hide_from_nav) %> </small> </div> <% if taxon.icon.present? %> <div class="ml-2"> <div class="item_image_holder"> <%= image_tag main_app.cdn_image_url(taxon.icon.attachment) %> </div> </div> <% end %> </div> <div class="d-flex align-items-center space-buttons px-2"> <%= link_to_edit(taxon, no_text: true, url: spree.edit_admin_taxonomy_taxon_path(taxonomy, taxon.id)) %> <%= link_to_delete(taxon, no_text: true, url: spree.admin_taxonomy_taxon_path(taxonomy, taxon.id)) if can?(:destroy, taxon) %> </div> </div>
Version data entries
12 entries across 12 versions & 1 rubygems