active/app/views/admin/actives
junyi 806bb862c2 Auto-fill current time for postdate field on new active page
The postdate datetime field was left blank on the "new" active
creation page because orbit_form_helper.rb intentionally clears
:new_record fields regardless of the model's :default value.

Add inline JS (mirroring the pattern used in announcement-test)
to fill act[postdate] with the current date/time only when the
URL path ends in "new", so existing records are not overwritten
on edit.
2026-07-30 09:57:41 +00:00
..
_form.html.erb Auto-fill current time for postdate field on new active page 2026-07-30 09:57:41 +00:00
_form_file.html.erb Active Event 2014-11-10 10:24:07 +08:00
_form_link.html.erb Active Event 2014-11-10 10:24:07 +08:00
_index.html.erb feat: need_pre_register, signup field label, settings tab redesign, permission check 2026-06-25 18:11:20 +08:00
act_signup.html.erb feat: need_pre_register, signup field label, settings tab redesign, permission check 2026-06-25 18:11:20 +08:00
edit.html.erb Active Event 2014-11-10 10:24:07 +08:00
edit_act_signup.html.erb Active Event 2014-11-10 10:24:07 +08:00
export.xlsx.axlsx feat: need_pre_register, signup field label, settings tab redesign, permission check 2026-06-25 18:11:20 +08:00
index.html.erb Active Event 2014-11-10 10:24:07 +08:00
new.html.erb Active Event 2014-11-10 10:24:07 +08:00