Sha256: f410766981de42555781322f08a3fee32441dbe5549121d5f8f3b6856602f1e7
Contents?: true
Size: 1.54 KB
Versions: 60
Compression:
Stored size: 1.54 KB
Contents
<% remarkable_type = "elements" %> <div class="element-toolbar"> <span class="element_tools"> <div class="button_with_label"> <%= link_to( render_icon(:clone), alchemy.insert_admin_clipboard_path(remarkable_type: remarkable_type, remarkable_id: element.id), remote: true, method: :post, class: "icon_button" ) %> <label><%= Alchemy.t(:copy_element) %></label> </div> <div class="button_with_label"> <%= link_to( render_icon(:cut), alchemy.insert_admin_clipboard_path(remarkable_type: remarkable_type, remarkable_id: element.id, remove: true), remote: true, method: :post, class: "icon_button" ) %> <label><%= Alchemy.t(:cut_element) %></label> </div> <div class="button_with_label"> <%= link_to_confirm_dialog( render_icon('trash-alt'), Alchemy.t(:confirm_to_delete_element), alchemy.admin_element_path(element), class: "icon_button" ) -%> <label><%= Alchemy.t("Delete element") %></label> </div> <div class="button_with_label publish-element-button"> <%= link_to( render_icon(element.public? ? 'eye-slash' : 'eye'), alchemy.publish_admin_element_path(id: element.id), remote: true, method: :patch, class: "icon_button" ) %> <% if element.public? %> <label><%= Alchemy.t(:hide_element) %></label> <% else %> <label><%= Alchemy.t(:show_element) %></label> <% end %> </div> </span> </div>
Version data entries
60 entries across 60 versions & 1 rubygems