From 05ee929af07722f39eeb990346723003e98b36ff Mon Sep 17 00:00:00 2001 From: Chang-Woo Date: Fri, 11 Jun 2021 22:53:00 -0700 Subject: [PATCH 1/2] Deleted unused white space --- app/views/layouts/_breadcrumb.html.erb | 16 ++++++++++------ app/views/layouts/_notice.html.erb | 12 ++++++++---- app/views/layouts/application.html.erb | 22 ++-------------------- 3 files changed, 20 insertions(+), 30 deletions(-) diff --git a/app/views/layouts/_breadcrumb.html.erb b/app/views/layouts/_breadcrumb.html.erb index 8ef8489..bb2a071 100644 --- a/app/views/layouts/_breadcrumb.html.erb +++ b/app/views/layouts/_breadcrumb.html.erb @@ -5,9 +5,13 @@ controller_index_path = '#' end %> - \ No newline at end of file +
+
+ +
+
diff --git a/app/views/layouts/_notice.html.erb b/app/views/layouts/_notice.html.erb index ffa7873..9efe44c 100644 --- a/app/views/layouts/_notice.html.erb +++ b/app/views/layouts/_notice.html.erb @@ -1,6 +1,10 @@ <% if notice.present? %> -

- - <%= notice %> -

+
+
+

+ + <%= notice %> +

+
+
<% end %> \ No newline at end of file diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index be1059c..af7bc83 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -17,26 +17,8 @@
-
-
- <%= render "layouts/notice" %> -
-
-
-
- <%= render "layouts/breadcrumb", controller_name: controller_name, action_name: controller.action_name.capitalize %> -
-
- <% if notice.present? %> -
-
-

- - <%= notice %> -

-
-
- <% end %> + <%= render "layouts/notice" %> + <%= render "layouts/breadcrumb", controller_name: controller_name, action_name: controller.action_name.capitalize %>
<%= yield %> From 15e4c0e8d9addfa5e0deddc41dd27659cb11ddc4 Mon Sep 17 00:00:00 2001 From: Chang-Woo Date: Fri, 11 Jun 2021 22:55:07 -0700 Subject: [PATCH 2/2] Deleted columns in notice partial --- app/views/layouts/_notice.html.erb | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/app/views/layouts/_notice.html.erb b/app/views/layouts/_notice.html.erb index 9efe44c..fd40735 100644 --- a/app/views/layouts/_notice.html.erb +++ b/app/views/layouts/_notice.html.erb @@ -1,10 +1,6 @@ <% if notice.present? %> -
-
-

- - <%= notice %> -

-
-
+

+ + <%= notice %> +

<% end %> \ No newline at end of file