diff --git a/app/helpers/workflows_helper.rb b/app/helpers/workflows_helper.rb index 1a0cf432a..bd47523de 100644 --- a/app/helpers/workflows_helper.rb +++ b/app/helpers/workflows_helper.rb @@ -4,9 +4,13 @@ module WorkflowsHelper end def button_to_set_stage(bubble, stage) - button_to stage.name, bucket_bubble_stagings_path(bubble.bucket, bubble, stage_id: stage), + button_to bucket_bubble_stagings_path(bubble.bucket, bubble, stage_id: stage), method: :post, class: [ "btn full-width justify-start borderless workflow-stage", { "workflow-stage--current": stage == bubble.stage } ], form_class: "flex align-center gap-half", - data: { turbo_frame: "_top" } + data: { turbo_frame: "_top" } do + tag.span class: "overflow-ellipsis" do + stage.name + end + end end end diff --git a/app/views/bubbles/show.html.erb b/app/views/bubbles/show.html.erb index 88d489342..3ffc1eedd 100644 --- a/app/views/bubbles/show.html.erb +++ b/app/views/bubbles/show.html.erb @@ -24,7 +24,7 @@ <% end %> -