<%= theme_panel_heading(@category.name) %>
<%= theme_panel_sub_heading(@category.display_category_type, "#") if @category.one_liner %>
<%= clear_tag(10) %>
<%= display_publishable_status(@category) %>
<%= clear_tag(10) %>
<%= theme_panel_description(@category.one_liner) %>
<%= clear_tag(5) %>
<%= theme_panel_description(@category.description) %>
<%= clear_tag(20) %>
Category Type | <%= @category.display_category_type %> |
Parent |
<% if @category.parent %>
<%= @category.parent.try(:display_name) %> (<%= @category.parent.try(:id) %>)
<% end %>
|
Top Parent |
<% if @category.top_parent %>
<%= @category.top_parent.try(:display_name) %> (<%= @category.top_parent.try(:id) %>)
<% end %>
|
Priority | <%= @category.priority %> |
<%= clear_tag(20) %>
<% if display_manage_links? %>
<%= display_manage_buttons(@category) %>
<%= display_publishable_buttons(@category) %>
<%= display_featurable_buttons(@category) %>
<% end %>
<%= clear_tag(20) %>
<% if display_edit_links? %>
<%= edit_image(@category,
"category_image.image.url",
upload_image_link(@category, :category_image, nil ),
remove_image_link(@category, :category_image, nil ),
image_options: {assoc_name: :category_image }) %>
<% else %>
<%= display_image(@category, "category_image.image.url", class: "img-inline", alt: @category.display_name) %>
<% end %>
<% if @current_user.super_admin? %>
<%= clear_tag(40) %>