From 2160eee1d7dc446ba8ec6366ac7f4886c8eafc91 Mon Sep 17 00:00:00 2001
From: alexisben <alexiben7@gmail.com>
Date: Mon, 16 May 2022 10:44:22 +0200
Subject: [PATCH] Fix vidblock static indentation

---
 .../blocks/templates/definitions/_static.html.erb             | 4 ++--
 .../communication/blocks/templates/embed/_static.html.erb     | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/app/views/admin/communication/blocks/templates/definitions/_static.html.erb b/app/views/admin/communication/blocks/templates/definitions/_static.html.erb
index 51a2c4a72..2dd4e4ddb 100644
--- a/app/views/admin/communication/blocks/templates/definitions/_static.html.erb
+++ b/app/views/admin/communication/blocks/templates/definitions/_static.html.erb
@@ -1,6 +1,6 @@
 <% block.template.definitions.each do |definition| %>
       - title: >-
-          <%= prepare_html_for_static definition.title, about.university, 5 %>
+          <%= prepare_html_for_static definition.title, about.university %>
         text: >-
-          <%= prepare_html_for_static definition.text, about.university, 5  %>
+          <%= prepare_html_for_static definition.text, about.university  %>
 <% end %>
diff --git a/app/views/admin/communication/blocks/templates/embed/_static.html.erb b/app/views/admin/communication/blocks/templates/embed/_static.html.erb
index a167ed95e..70c103de6 100644
--- a/app/views/admin/communication/blocks/templates/embed/_static.html.erb
+++ b/app/views/admin/communication/blocks/templates/embed/_static.html.erb
@@ -1,4 +1,4 @@
       code: >-
-        <%= prepare_html_for_static block.template.code, about.university, 4 %>
+        <%= prepare_html_for_static block.template.code, about.university %>
       transcription: >-
         <%= prepare_text_for_static block.template.transcription, 4 %>
-- 
GitLab