diff --git a/app/views/admin/page_contents/wiki_parent.html.erb b/app/views/admin/page_contents/wiki_parent.html.erb new file mode 100644 index 0000000..13213e0 --- /dev/null +++ b/app/views/admin/page_contents/wiki_parent.html.erb @@ -0,0 +1,34 @@ + + + + <% @table_fields.each do |f| %> + <%= thead(f) %> + <% end %> + + + + + + + + + + + + +
<%= @wiki_parent_page.page_id%> + <%= @wiki_parent_page.name %> +
+ +
+
<%= @wiki_parent_page.page_contexts.last.version rescue nil %><%= format_value @wiki_parent_page.page_contexts.last.updated_at rescue nil %><%= User.find(@wiki_parent_page.page_contexts.last.update_user_id).user_name rescue nil %> + <% if can_edit_or_delete?(@wiki_parent_page) %> + <%= select_tag("category_id",options_for_select(@categories, (@wiki_parent_page.category_id.to_s rescue "")), prompt: t("select_category"), class: "category_select", style: "margin-bottom:0; width:150px;") %> + + <% end %> +