summaryrefslogtreecommitdiff
path: root/app/views/nodes/edit.html.erb
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2026-08-20 17:37:01 +0200
committererdgeist <erdgeist@erdgeist.org>2026-08-20 17:37:01 +0200
commita1794d3087e6cbd228f3641e7313815d8c59695f (patch)
tree85a9ac0c50faf47a33be57af818942b692530ffc /app/views/nodes/edit.html.erb
parent3e77e5fca9f66f5be9c12085fd68c4e9d0ba79be (diff)
Surface redirects in nodes#show, the action log and when publishing
Diffstat (limited to 'app/views/nodes/edit.html.erb')
-rw-r--r--app/views/nodes/edit.html.erb3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/views/nodes/edit.html.erb b/app/views/nodes/edit.html.erb
index f629985e..a40f3949 100644
--- a/app/views/nodes/edit.html.erb
+++ b/app/views/nodes/edit.html.erb
@@ -154,8 +154,7 @@
154 <div id="redirect_target_field" style="<%= "display: none;" unless @page.redirect.present? %>"> 154 <div id="redirect_target_field" style="<%= "display: none;" unless @page.redirect.present? %>">
155 <div class="input_group" data-clears="page_redirect_node_id"> 155 <div class="input_group" data-clears="page_redirect_node_id">
156 <span class="field_search_icon"><%= icon("search", library: "tabler", "aria-hidden": true) %></span> 156 <span class="field_search_icon"><%= icon("search", library: "tabler", "aria-hidden": true) %></span>
157 <%= text_field_tag :redirect_search_term, 157 <%= text_field_tag :redirect_search_term, @page.redirect_node&.title,
158 Node.find_by(:id => @page.redirect_node_id)&.title,
159 :placeholder => "—", :class => "clearable_input" %> 158 :placeholder => "—", :class => "clearable_input" %>
160 <div id="redirect_search_results" class="search_results"></div> 159 <div id="redirect_search_results" class="search_results"></div>
161 <button type="button" class="field_clear" aria-label="clear input">×</button> 160 <button type="button" class="field_clear" aria-label="clear input">×</button>