+ <% if notice %>
+
+ <%= notice %>
+ <% end %> + <% if alert %> +<%= alert %>
+ <% end %> + + <%= yield %> +From 8b0492496dbd29e39345fe8c04668c65a0f9fe56 Mon Sep 17 00:00:00 2001 From: topnimble <90754900+topnimble@users.noreply.github.com> Date: Tue, 23 May 2023 17:17:11 +0700 Subject: [PATCH 01/27] Adjust styles --- app/views/home/index.html.erb | 6 ----- app/views/layouts/application.html.erb | 32 ++++++++++++++++++++++---- 2 files changed, 28 insertions(+), 10 deletions(-) diff --git a/app/views/home/index.html.erb b/app/views/home/index.html.erb index 4402bd8..8e780d3 100644 --- a/app/views/home/index.html.erb +++ b/app/views/home/index.html.erb @@ -1,9 +1,3 @@ -<% if user_signed_in? %> -
<%= notice %>
-<%= alert %>
- <%= yield %> +<%= notice %>
+ <% end %> + <% if alert %> +<%= alert %>
+ <% end %> + + <%= yield %> +