Skip to content
Snippets Groups Projects
Commit 677de908 authored by Arnaud Levy's avatar Arnaud Levy
Browse files

Fix

parent 883a8ddf
No related branches found
No related tags found
No related merge requests found
<% content_for :title, Communication::Extranet::Post::Category.model_name.human(count: 2) %>
<% content_for :title, Communication::Extranet::Document::Category.model_name.human(count: 2) %>
<%= render 'admin/communication/extranets/sidebar' do %>
<%= render 'admin/communication/extranets/documents/categories/list', categories: @categories %>
......
<% content_for :title, Communication::Extranet::Post::Category.model_name.human %>
<% content_for :title, Communication::Extranet::Document::Category.model_name.human %>
<%= render 'admin/communication/extranets/sidebar' do %>
<%= render 'form', category: @category %>
......
<% content_for :title, @post.title %>
<% content_for :image, kamifusen_tag(@post.featured_image) if @post.featured_image.attached? %>
<%= render 'admin/communication/blocks/preview', about: @post %>
......@@ -2,7 +2,7 @@
<table class="<%= table_classes %>">
<thead>
<tr>
<th class="ps-0" width="60%"><%= Communication::Extranet::Post::Category.human_attribute_name('name') %></th>
<th class="ps-0" width="60%"><%= Communication::Extranet::Document::Kind.human_attribute_name('name') %></th>
<th><%= Communication::Extranet::Document::Kind.human_attribute_name('quantity') %></th>
<th></th>
</tr>
......
<% content_for :title, @post.title %>
<% content_for :image, kamifusen_tag(@post.featured_image) if @post.featured_image.attached? %>
<%= render 'admin/communication/blocks/preview', about: @post %>
......@@ -5,5 +5,5 @@
<% end %>
<% content_for :action_bar_right do %>
<%= create_link Communication::Extranet::Post::Category %>
<%= create_link Communication::Extranet::Document::Category %>
<% end %>
\ No newline at end of file
<% content_for :title, @category %>
<%= render 'admin/communication/extranets/sidebar' do %>
<%= osuny_panel Communication::Extranet::Document.model_name.human(count: 2) do %>
<%= osuny_panel Communication::Extranet::Post.model_name.human(count: 2) do %>
<%= render 'admin/communication/extranets/posts/list', posts: @posts %>
<%= paginate @posts, theme: 'bootstrap-5' %>
<% end %>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment