Sha256: 1799f115467a3084676e4e6697d777067611482e046ac28ce47228371bc241e3

Contents?: true

Size: 1.13 KB

Versions: 7

Compression:

Stored size: 1.13 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

7 entries across 7 versions & 1 rubygems

Version Path
alchemy_cms-2.4.1 app/views/alchemy/admin/elements/_element_foot.html.erb
alchemy_cms-2.5.0.b5 app/views/alchemy/admin/elements/_element_foot.html.erb
alchemy_cms-2.5.0.b2 app/views/alchemy/admin/elements/_element_foot.html.erb
alchemy_cms-2.4.0 app/views/alchemy/admin/elements/_element_foot.html.erb
alchemy_cms-2.4.rc4 app/views/alchemy/admin/elements/_element_foot.html.erb
alchemy_cms-2.4.rc2 app/views/alchemy/admin/elements/_element_foot.html.erb
alchemy_cms-2.4.rc1 app/views/alchemy/admin/elements/_element_foot.html.erb