diff --git a/app/views/admin/communication/blocks/templates/organization_chart/_edit.html.erb b/app/views/admin/communication/blocks/templates/organization_chart/_edit.html.erb index a4925d7246972152572cc98cb5fd97c8c275a4f4..d0e9f346fe5752f44871c2ed1d4e989fc5018620 100644 --- a/app/views/admin/communication/blocks/templates/organization_chart/_edit.html.erb +++ b/app/views/admin/communication/blocks/templates/organization_chart/_edit.html.erb @@ -1,3 +1,9 @@ +<div class="row"> + <div class="col-xl-6"> + <%= block_component_edit :description %> + </div> +</div> + <%= block_component_add_element t('.add_person') %> <draggable :list="data.elements" class="list-group" handle=".dragHandle"> diff --git a/app/views/admin/communication/blocks/templates/organization_chart/_preview.html.erb b/app/views/admin/communication/blocks/templates/organization_chart/_preview.html.erb index 08c110324918ce581c646538efb9861b4299e09d..561a79b74d6cbf04a7ae9a5a31ce611b40126cd8 100644 --- a/app/views/admin/communication/blocks/templates/organization_chart/_preview.html.erb +++ b/app/views/admin/communication/blocks/templates/organization_chart/_preview.html.erb @@ -1,3 +1,4 @@ +<%= block_component_preview :description %> <% @block.template.elements.each do |element| person = element.person next if person.nil? diff --git a/app/views/admin/communication/blocks/templates/organization_chart/_static.html.erb b/app/views/admin/communication/blocks/templates/organization_chart/_static.html.erb index 6ed1e765f9fb862745a1c2b28702a75aec9cb613..d0549c5a151f8a6800052cc087ced71ecb288a6b 100644 --- a/app/views/admin/communication/blocks/templates/organization_chart/_static.html.erb +++ b/app/views/admin/communication/blocks/templates/organization_chart/_static.html.erb @@ -1,3 +1,4 @@ +<%= block_component_static :description %> <% block.template.elements.each do |element| %> <% next unless element.person %> <%= block_component_static :id, template: element, depth: 4, list: true %>