summaryrefslogtreecommitdiff
path: root/app/views/nodes/new.html.erb
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2026-07-19 22:19:22 +0200
committererdgeist <erdgeist@erdgeist.org>2026-07-19 22:19:22 +0200
commit08d02a8591ee8047cb708646092cd4bdb7492c33 (patch)
tree6b98f8e2d8f98f728394215da57bc9a08de56818 /app/views/nodes/new.html.erb
parent318c0ec9793beba1a6ac0e18168c774fce15dd37 (diff)
Add copy-url button to assets; unified the mechanism across views
Diffstat (limited to 'app/views/nodes/new.html.erb')
-rw-r--r--app/views/nodes/new.html.erb5
1 files changed, 4 insertions, 1 deletions
diff --git a/app/views/nodes/new.html.erb b/app/views/nodes/new.html.erb
index 890d46e9..805fbc91 100644
--- a/app/views/nodes/new.html.erb
+++ b/app/views/nodes/new.html.erb
@@ -41,7 +41,10 @@
41 <div class="node_description">Resulting path</div> 41 <div class="node_description">Resulting path</div>
42 <div class="node_content"> 42 <div class="node_content">
43 <span id="resulting_path">—</span> 43 <span id="resulting_path">—</span>
44 <button type="button" id="copy_resulting_path" class="unselected">copy</button> 44 <button type="button" id="copy_resulting_path" class="unselected copy_button" data-copy-target="#resulting_path">
45 <span class="copy_button_label">copy</span>
46 </button>
47
45 <span class="field_hint">This preview updates as you type. The final path can still be changed afterward by editing the title (for the last segment) or moving the node to a different parent (for everything before it).</span> 48 <span class="field_hint">This preview updates as you type. The final path can still be changed afterward by editing the title (for the last segment) or moving the node to a different parent (for everything before it).</span>
46 </div> 49 </div>
47 50