Node
<% if @event.node %>
<%= link_to @event.node.title, node_path(@event.node) %>
<% else %>
<%= text_field_tag :event_node_search_term %>
Optional — search and pick a node to associate this event with a page.
<% end %>
<%= f.hidden_field :node_id %>
Change node
<%= text_field_tag :event_node_search_term %> This will re-link the event to a different node — rarely needed.Start time
<%= f.datetime_select :start_time %>
End time
<%= f.datetime_select :end_time %>
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.Title
<%= f.text_field :title %>
Optional — if left blank, the associated node's title is used.
Tags
<%= f.text_field :tag_list %>
Allday
<%= f.check_box :allday %>
Url
<%= f.text_field :url %>
Latitude
<%= f.text_field :latitude %>
Longitude
<%= f.text_field :longitude %>
<%= f.submit 'Update' %>