Sha256: 5b47dccd44f6b9bcc5a68a9f720c357e28c9b95dc5da36efe009ea5f5a22ed43

Contents?: true

Size: 1.06 KB

Versions: 16

Compression:

Stored size: 1.06 KB

Contents

<div class="element-header<%= ' has-hint' if element.has_hint? %>">
  <span class="element-handle">
    <% if element.definition.blank? %>
      <%= hint_with_tooltip Alchemy.t(:element_definition_missing) %>
    <% elsif element.deprecated? %>
      <%= hint_with_tooltip element.deprecation_notice %>
    <% else %>
      <%= render_icon('draggable', style: nil, class: 'element', fixed_width: false) %>
    <% 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 || '&nbsp;') %>
    </span>
  </span>
  <span class="element-hidden-icon">
    <%= render_icon("cloud-off", size: "1x") %>
    <span class="element-hidden-label">
      <%= Alchemy.t(:element_hidden) %>
    </span>
  </span>
  <%= button_tag({
    title: Alchemy.t(element.folded? ? :show_element_content : :hide_element_content),
    class: "element-toggle"
  }) do %>
    <%= render_icon element.folded? ? 'arrow-left-s' : 'arrow-down-s' %>
  <% end %>
</div>

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
alchemy_cms-7.1.12 app/views/alchemy/admin/elements/_header.html.erb
alchemy_cms-7.1.11 app/views/alchemy/admin/elements/_header.html.erb
alchemy_cms-7.1.10 app/views/alchemy/admin/elements/_header.html.erb
alchemy_cms-7.1.9 app/views/alchemy/admin/elements/_header.html.erb
alchemy_cms-7.1.8 app/views/alchemy/admin/elements/_header.html.erb
alchemy_cms-7.1.7 app/views/alchemy/admin/elements/_header.html.erb
alchemy_cms-7.1.6 app/views/alchemy/admin/elements/_header.html.erb
alchemy_cms-7.1.5 app/views/alchemy/admin/elements/_header.html.erb
alchemy_cms-7.1.4 app/views/alchemy/admin/elements/_header.html.erb
alchemy_cms-7.1.3 app/views/alchemy/admin/elements/_header.html.erb
alchemy_cms-7.1.2 app/views/alchemy/admin/elements/_header.html.erb
alchemy_cms-7.1.1 app/views/alchemy/admin/elements/_header.html.erb
alchemy_cms-7.1.0 app/views/alchemy/admin/elements/_header.html.erb
alchemy_cms-7.1.0.pre.rc1 app/views/alchemy/admin/elements/_header.html.erb
alchemy_cms-7.1.0.pre.b2 app/views/alchemy/admin/elements/_header.html.erb
alchemy_cms-7.1.0.pre.b1 app/views/alchemy/admin/elements/_header.html.erb