Sha256: a701ddc5706b5ff9d98e2df72e0a5dd6304535cf802c7ed46d643ac2abf0f423

Contents?: true

Size: 1.14 KB

Versions: 9

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

9 entries across 9 versions & 1 rubygems

Version Path
alchemy_cms-2.5.3.1 app/views/alchemy/admin/elements/_element_foot.html.erb
alchemy_cms-2.5.3 app/views/alchemy/admin/elements/_element_foot.html.erb
alchemy_cms-2.5.2.2 app/views/alchemy/admin/elements/_element_foot.html.erb
alchemy_cms-2.5.2.1 app/views/alchemy/admin/elements/_element_foot.html.erb
alchemy_cms-2.5.2 app/views/alchemy/admin/elements/_element_foot.html.erb
alchemy_cms-2.5.1 app/views/alchemy/admin/elements/_element_foot.html.erb
alchemy_cms-2.5.0 app/views/alchemy/admin/elements/_element_foot.html.erb
alchemy_cms-2.5.0.rc3 app/views/alchemy/admin/elements/_element_foot.html.erb
alchemy_cms-2.5.0.b9 app/views/alchemy/admin/elements/_element_foot.html.erb