From 9224f825b5c0ce185fba62e37b3b6502e5f5e1b5 Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Sat, 8 Mar 2025 18:21:25 +0300 Subject: [PATCH] Create template for sidebar close controls --- app/views/layouts/_sidebar_close.html.erb | 5 +++++ app/views/layouts/map.html.erb | 12 ++---------- 2 files changed, 7 insertions(+), 10 deletions(-) create mode 100644 app/views/layouts/_sidebar_close.html.erb diff --git a/app/views/layouts/_sidebar_close.html.erb b/app/views/layouts/_sidebar_close.html.erb new file mode 100644 index 000000000..5c3773625 --- /dev/null +++ b/app/views/layouts/_sidebar_close.html.erb @@ -0,0 +1,5 @@ + diff --git a/app/views/layouts/map.html.erb b/app/views/layouts/map.html.erb index 66d773f7d..f65fde2c2 100644 --- a/app/views/layouts/map.html.erb +++ b/app/views/layouts/map.html.erb @@ -18,11 +18,7 @@
- + <%= render :partial => "layouts/sidebar_close" %>