diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-07-09 19:27:47 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-07-09 19:27:47 +0200 |
| commit | ff2edea873de50c5be41cd24bb7a8d1e0d75d9ee (patch) | |
| tree | 7fa86c82b0ead0c91fab1252be22d413908f9a9a /db | |
| parent | 83a74c6d01e0be50d5806d8253de9f2ad6d5c143 (diff) | |
Modernize events#edit: node re-link guard, editable Title, layout overhaul
Converts the <p>-per-field layout to node_description/node_content,
matching every other converted view. The RRULE builder's internal
markup and JS-driven show/hide are untouched -- only its containing
block moved.
Adds the same node picker and optional Title field events#new just
got, with one addition specific to edit: an already-linked event
shows its node as a plain link, with the picker itself gated behind
a <details> disclosure. Re-linking a live event to a different node
is rare and has real side effects (which page it appears under, which
tag-prefill applies), so it gets an extra click rather than sitting
as easy to trigger as the unlinked case, which stays unguarded.
Moves Destroy out of the subnav and into the page body, matching
events#show. Required extracting it (and Back) into their own block
outside form_for -- button_to generates its own nested <form>, which
the browser silently drops when nested inside another; this is the
same failure mode nodes#edit hit earlier in this branch. Reuses the
existing .node_action_bar class rather than the naked block that
would've resulted, adding a "standalone_action_bar" modifier for the
two things specific to living outside #page_editor: the -125px
margin every other line in the form gets for free, and link
underline visibility, since this is the first .node_action_bar
instance with a bare <a> rather than only buttons.
Diffstat (limited to 'db')
0 files changed, 0 insertions, 0 deletions
