From c831c46b5522a44cefd430bdca04ec9db5a90052 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Thu, 16 Jul 2026 16:59:28 +0200 Subject: Move rrule builder to a partial and share between events#new and events#edit --- app/views/events/edit.html.erb | 34 +--------------------------------- 1 file changed, 1 insertion(+), 33 deletions(-) (limited to 'app/views/events/edit.html.erb') diff --git a/app/views/events/edit.html.erb b/app/views/events/edit.html.erb index bf8cb359..4532ff29 100644 --- a/app/views/events/edit.html.erb +++ b/app/views/events/edit.html.erb @@ -40,39 +40,7 @@
Recurrence
-
-

- - -

-
-

-

- <% %w[MO TU WE TH FR SA SU].each do |code| %> - - <% end %> -

-
- -

- - <%= select_tag "rrule_excluded_month", options_for_select((1..12).map { |m| [RruleHumanizer::MONTH_NAMES[:de][m-1], m] }), style: "display: none;" %> -

- Builds the field below automatically. If your pattern is more complex than this covers, just edit it directly below - these controls won't touch it unless you use them. -
- <%= f.text_field :rrule, id: "event_rrule" %> + <%= render "rrule_builder", f: f %>
Title
-- cgit v1.3