From f64de1c0aea52247bb1ae9299ecceba18babda7d Mon Sep 17 00:00:00 2001 From: Alexander Zaytsev Date: Mon, 8 Dec 2025 22:26:17 +0100 Subject: [PATCH] Cleanup: apply classes to `
`, remove extra div --- app/views/boards/edit/_publication.html.erb | 44 ++++++++++----------- 1 file changed, 20 insertions(+), 24 deletions(-) diff --git a/app/views/boards/edit/_publication.html.erb b/app/views/boards/edit/_publication.html.erb index 560a00286..fb9a5537c 100644 --- a/app/views/boards/edit/_publication.html.erb +++ b/app/views/boards/edit/_publication.html.erb @@ -6,18 +6,16 @@ <% if board.published? %>
- <%= form_with url: board_publication_path(board), method: :delete, data: { controller: "form" } do |form| %> -
- - -
+ <%= form_with url: board_publication_path(board), method: :delete, class: "flex-inline center justify-between gap", data: { controller: "form" } do |form| %> + + <% end %>
@@ -42,18 +40,16 @@
<% else %>
- <%= form_with url: board_publication_path(board), method: :post, data: { controller: "form" } do |form| %> -
- - -
+ <%= form_with url: board_publication_path(board), method: :post, class: "flex-inline center justify-between gap", data: { controller: "form" } do |form| %> + + <% end %>
<% end %>