orbit-basic/app/views/admin/attributes/index.html.erb

25 lines
1.1 KiB
Plaintext
Raw Permalink Normal View History

2013-01-08 08:58:01 +00:00
<% content_for :side_bar do %>
2013-08-09 07:07:05 +00:00
<%= render :partial => 'admin/users_new_interface/side_bar' %>
2011-12-23 10:34:21 +00:00
<% end %>
2013-08-09 07:07:05 +00:00
<% content_for :page_specific_css do -%>
<%= stylesheet_link_tag "lib/wrap-nav.css" %>
<%= stylesheet_link_tag "lib/pageslide.css" %>
<%= stylesheet_link_tag "lib/main-forms.css" %>
<%= stylesheet_link_tag "lib/togglebox.css" %>
<% end -%>
2013-01-08 08:58:01 +00:00
2013-08-09 07:07:05 +00:00
<div class="bottomnav clearfix">
<div class="action pull-right">
<%= link_to content_tag(:i,t("new.#{@attribute_type}"),:class=>"icon-plus"),eval("new_admin_#{@attribute_type}_path"),:class=>"btn btn-primary open-slide"%>
</div>
2013-01-08 08:58:01 +00:00
</div>
2013-08-09 07:07:05 +00:00
<div id="attributes_index">
<%= render 'admin/attributes/index' %>
2011-12-23 10:34:21 +00:00
</div>
2013-08-09 07:07:05 +00:00
<%#= link_to content_tag(:i, nil, class: "icon-edit"), eval("edit_admin_#{node.class.to_s.downcase}_path(node)"), class: "open-slide tip", title: t(:edit) %>
<%#= link_to content_tag(:i, nil, class: "icons-newspaper"), new_admin_page_path(:parent_id => node.id), class: "open-slide tip", title: t(:add_page) if node.class.to_s.eql?('Page') %>
<%#= javascript_include_tag "lib/jquery.pageslide.js" %>
2013-01-08 08:58:01 +00:00