From 2d01c70c163aa12b4142858f322c30c3738e4957 Mon Sep 17 00:00:00 2001 From: Moritz Date: Tue, 24 Feb 2026 10:34:17 +0100 Subject: [PATCH] Group cycle status buttons with DaisyUI join component Wrap Paid/Suspended/Unpaid buttons in a
and add join-item to each button. Delete button stays separate next to the group. --- .../show/membership_fees_component.ex | 82 ++++++++++--------- 1 file changed, 42 insertions(+), 40 deletions(-) diff --git a/lib/mv_web/live/member_live/show/membership_fees_component.ex b/lib/mv_web/live/member_live/show/membership_fees_component.ex index 1ce6f77..f6aa21d 100644 --- a/lib/mv_web/live/member_live/show/membership_fees_component.ex +++ b/lib/mv_web/live/member_live/show/membership_fees_component.ex @@ -214,47 +214,49 @@ defmodule MvWeb.MemberLive.Show.MembershipFeesComponent do <:action :let={cycle}> -
+
<%= if @can_update_cycle do %> - - - +
+ + + +
<% end %> <%= if @can_destroy_cycle do %>