From 3847d1dbc89def320cf13510f3e78f1fab72902c Mon Sep 17 00:00:00 2001
From: Arnaud Levy <contact@arnaudlevy.com>
Date: Fri, 2 Dec 2022 11:26:09 +0100
Subject: [PATCH] Fix #586

---
 app/views/admin/university/people/_form.html.erb | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/app/views/admin/university/people/_form.html.erb b/app/views/admin/university/people/_form.html.erb
index 3244a9df7..0f1b6dfaf 100644
--- a/app/views/admin/university/people/_form.html.erb
+++ b/app/views/admin/university/people/_form.html.erb
@@ -28,7 +28,11 @@
             </div>
           </div>
           <%= f.input :description_short %>
-          <%= f.input :biography, as: :summernote %>
+          <%= f.input :biography, 
+                      as: :summernote,
+                      input_html: {
+                        data: { 'summernote-config' => 'mini-list' }
+                      } %>
         </div>
       </div>
       <div class="card flex-fill w-100">
-- 
GitLab