Sha256: 31d7722b068ce23e3b5988e81495bbd84f3d1bd2dea4c97eefad5b33bfe313bd
Contents?: true
Size: 1.07 KB
Versions: 21
Compression:
Stored size: 1.07 KB
Contents
<div class="element-header<%= ' has-hint' if element.has_hint? %>"> <span class="element-handle"> <%= render_icon(:element) %> <% if element.definition.blank? %> <%= hint_with_tooltip( Alchemy.t(:element_definition_missing), class: 'warning icon' ) %> <% else %> <%= render_icon("element_#{element.public? ? 'public' : 'draft'}") %> <% end %> </span> <span class="element-title"> <span class="preview_text_element_name"><%= element.display_name %></span> <span class="preview_text_quote"> <%= sanitize(element.preview_text.presence || ' ') %> </span> </span> <%= render_hint_for(element) unless element.trashed? %> <span class="ajax-folder" <%= element.trashed? ? 'style="display: none"'.html_safe : '' %>> <%= link_to '', '#', { 'data-element-toggle' => element.id, class: element.folded? ? 'expand_element' : 'fold_element', title: element.folded? ? Alchemy.t(:show_element_content) : Alchemy.t(:hide_element_content), id: "element_#{element.id}_folder" } %> </span> </div>
Version data entries
21 entries across 21 versions & 1 rubygems