From 0a0ff5e7d67b1ecd5646413ea1e5b9a97a8189d4 Mon Sep 17 00:00:00 2001 From: Andy Allan Date: Thu, 2 Jan 2020 11:48:24 +0100 Subject: [PATCH] Remove extra div wrappings from list items These are unnecessary, and also prevent the secondary-actions vertical border from appearing. --- app/views/diary_entries/index.html.erb | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/app/views/diary_entries/index.html.erb b/app/views/diary_entries/index.html.erb index acf9ac17c..a599aea17 100644 --- a/app/views/diary_entries/index.html.erb +++ b/app/views/diary_entries/index.html.erb @@ -12,15 +12,11 @@ <% if @user %> <% if @user == current_user %> -
-
  • <%= link_to image_tag("new.png", :class => "small_icon", :border => 0) + t(".new"), new_diary_entry_path, :title => t(".new_title") %>
  • -
    +
  • <%= link_to image_tag("new.png", :class => "small_icon") + t(".new"), new_diary_entry_path, :title => t(".new_title") %>
  • <% end %> <% else %> <% if current_user %> -
    -
  • <%= link_to image_tag("new.png", :class => "small_icon", :border => 0) + t(".new"), new_diary_entry_path, :title => t(".new_title") %>
  • -
    +
  • <%= link_to image_tag("new.png", :class => "small_icon") + t(".new"), new_diary_entry_path, :title => t(".new_title") %>
  • <% end %> <% end %> -- 2.39.5