Sha256: 88f205ceaa9eaebc41a237eef856d4fa81f9421a01c6b841788a379a851248aa

Contents?: true

Size: 1.14 KB

Versions: 44

Compression:

Stored size: 1.14 KB

Contents

<% remarkable_type = element.class.name.demodulize.underscore.pluralize %>
<div class="element_foot">
  <span class="element_tools">
    <%= link_to(
      "",
      alchemy.trash_admin_element_path(element),
      :method => :delete,
      :class => "delete_element_button",
      :title => _t("trash element"),
      :remote => true
    ) -%>
    <%= link_to(
      "",
      alchemy.insert_admin_clipboard_path(:remarkable_type => remarkable_type, :remarkable_id => element.id, :remove => true),
      :remote => true,
      :method => :post,
      :class => "element_move_button",
      :title => _t(:cut_element)
    ) %>
    <%= link_to(
      "",
      alchemy.insert_admin_clipboard_path(:remarkable_type => remarkable_type, :remarkable_id => element.id),
      :remote => true,
      :method => :post,
      :class => "element_copy_button",
      :title => _t(:copy_element)
    ) %>
  </span>
  <span class="element_public">
    <%= f.check_box :public, :id => "element_#{element.id}_public" -%>
    <%= label_tag "element_#{element.id}_public", _t(:visible) -%>
  </span>
  <button type="submit" class="button">
    <%= _t(:save) %>
  </button>
</div>

Version data entries

44 entries across 44 versions & 2 rubygems

Version Path
alchemy_cms-3.1.0.beta1 app/views/alchemy/admin/elements/_element_foot.html.erb
alchemy_cms-3.0.2 app/views/alchemy/admin/elements/_element_foot.html.erb
alchemy_cms-3.0.1 app/views/alchemy/admin/elements/_element_foot.html.erb
alchemy_cms-3.0.0 app/views/alchemy/admin/elements/_element_foot.html.erb
alchemy_cms-3.0.0.rc8 app/views/alchemy/admin/elements/_element_foot.html.erb
alchemy_cms-2.9.0 app/views/alchemy/admin/elements/_element_foot.html.erb
alchemy_cms-2.8.3 app/views/alchemy/admin/elements/_element_foot.html.erb
alchemy_cms-2.7.5 app/views/alchemy/admin/elements/_element_foot.html.erb
alchemy_cms-2.6.3 app/views/alchemy/admin/elements/_element_foot.html.erb
alchemy_cms-3.0.0.rc7 app/views/alchemy/admin/elements/_element_foot.html.erb
alchemy_cms-3.0.0.rc6 app/views/alchemy/admin/elements/_element_foot.html.erb
alchemy_cms-2.7.4 app/views/alchemy/admin/elements/_element_foot.html.erb
alchemy_cms-2.8.2 app/views/alchemy/admin/elements/_element_foot.html.erb
alchemy_cms-2.8.1 app/views/alchemy/admin/elements/_element_foot.html.erb
alchemy_cms-2.7.3 app/views/alchemy/admin/elements/_element_foot.html.erb
alchemy_cms-3.0.0.rc5 app/views/alchemy/admin/elements/_element_foot.html.erb
alchemy_cms-2.7.2 app/views/alchemy/admin/elements/_element_foot.html.erb
alchemy_cms-2.7.1 app/views/alchemy/admin/elements/_element_foot.html.erb
alchemy_cms-2.7.0 app/views/alchemy/admin/elements/_element_foot.html.erb
alchemy_cms-2.6.2.1 app/views/alchemy/admin/elements/_element_foot.html.erb