Sha256: 998150446fe7ea0fa43ae4bd33e2a51d924d78a4c6c9ccdf78b4f44d4dcef0e9

Contents?: true

Size: 1.16 KB

Versions: 13

Compression:

Stored size: 1.16 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">
    <%= check_box_tag "public", "1", element.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

13 entries across 13 versions & 1 rubygems

Version Path
alchemy_cms-2.3.2 app/views/alchemy/admin/elements/_element_foot.html.erb
alchemy_cms-2.2.4 app/views/alchemy/admin/elements/_element_foot.html.erb
alchemy_cms-2.3.1 app/views/alchemy/admin/elements/_element_foot.html.erb
alchemy_cms-2.4.beta2 app/views/alchemy/admin/elements/_element_foot.html.erb
alchemy_cms-2.2.3.2 app/views/alchemy/admin/elements/_element_foot.html.erb
alchemy_cms-2.2.3.1 app/views/alchemy/admin/elements/_element_foot.html.erb
alchemy_cms-2.3.0 app/views/alchemy/admin/elements/_element_foot.html.erb
alchemy_cms-2.3.rc5 app/views/alchemy/admin/elements/_element_foot.html.erb
alchemy_cms-2.2.2 app/views/alchemy/admin/elements/_element_foot.html.erb
alchemy_cms-2.2.1 app/views/alchemy/admin/elements/_element_foot.html.erb
alchemy_cms-2.2.0 app/views/alchemy/admin/elements/_element_foot.html.erb
alchemy_cms-2.2.rc15 app/views/alchemy/admin/elements/_element_foot.html.erb
alchemy_cms-2.2.rc14 app/views/alchemy/admin/elements/_element_foot.html.erb