From 772118d2463997c2b056fe811a3d3dc03543fe66 Mon Sep 17 00:00:00 2001 From: Mojca Lorber Date: Mon, 20 Jan 2020 14:02:42 +0100 Subject: [PATCH] change html structure for flash msg, change columns buttons --- app/views/my_modules/repository.html.erb | 2 +- app/views/repositories/show.html.erb | 2 +- app/views/shared/_flash_alerts.html.erb | 18 ++++++------------ 3 files changed, 8 insertions(+), 14 deletions(-) diff --git a/app/views/my_modules/repository.html.erb b/app/views/my_modules/repository.html.erb index e4413cec9..8ba965f98 100644 --- a/app/views/my_modules/repository.html.erb +++ b/app/views/my_modules/repository.html.erb @@ -18,7 +18,7 @@
-
- - <%= sanitize_input(flash[:success]) %> - + <%= sanitize_input(flash[:success]) %> + <% end %> <% if notice %>
-
- - <%= notice %> -
+ <%= notice %> +
<% end %> <% if alert and !alert.empty? or flash[:error]%>
-
- - <%= alert || sanitize_input(flash[:error]) %> -
+ <%= alert || sanitize_input(flash[:error]) %> +
<% end %>