From e88235cba4b6dbd0608c0be07d7e0e7aee06dc0a Mon Sep 17 00:00:00 2001 From: Marwin Hochfelsner <50826859+hlfan@users.noreply.github.com> Date: Thu, 19 Mar 2026 10:00:43 +0000 Subject: [PATCH] Move list outside the branches --- .herb.yml | 2 -- app/views/users/show.html.erb | 25 +++++++++---------------- 2 files changed, 9 insertions(+), 18 deletions(-) diff --git a/.herb.yml b/.herb.yml index ad3925093..de8fa288e 100644 --- a/.herb.yml +++ b/.herb.yml @@ -2,8 +2,6 @@ version: 0.9.2 linter: rules: - erb-no-duplicate-branch-elements: - enabled: false erb-no-instance-variables-in-partials: enabled: false html-anchor-require-href: diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb index f6ade01c2..fecc461b6 100644 --- a/app/views/users/show.html.erb +++ b/app/views/users/show.html.erb @@ -17,10 +17,10 @@ <%= @user.display_name %> <%= render "role_icons" %> - <% if current_user and @user.id == current_user.id %> - -