From 243d27781d6f4a954659ac09812afd26b439f37b Mon Sep 17 00:00:00 2001 From: ricola Date: Thu, 4 Dec 2025 17:17:12 -0600 Subject: [PATCH] Put multiple actions on the same line --- views/votes_edit.erb | 44 +++++++++++++++++++++++++------------------- 1 file changed, 25 insertions(+), 19 deletions(-) diff --git a/views/votes_edit.erb b/views/votes_edit.erb index 6ecba25..b229fb2 100644 --- a/views/votes_edit.erb +++ b/views/votes_edit.erb @@ -24,12 +24,14 @@

<%= candidate.name %>

<%= markdown(candidate.description) %> -
- -
-
- -
+
+
+ +
+
+ +
+
<% end %> @@ -65,20 +67,24 @@ -
- <% if @vote.candidates.length < 2 %> -

<%= _("Add at least 2 candidates before opening the vote to participants.") %>

-
- <% end %> - - <% if @vote.candidates.length < 2 %> -
- <% end %> -
+<% if @vote.candidates.length < 2 %> +

<%= _("Add at least 2 candidates before opening the vote to participants.") %>

+<% end %> -
- -
+
+
+ <% if @vote.candidates.length < 2 %> +
+ <% end %> + + <% if @vote.candidates.length < 2 %> +
+ <% end %> +
+
+ +
+

<%= _("Organizers") %>