talas-group/talas-wiki/templates/rename.html
senke 66471934af Initial commit: Talas Group project management & documentation
Knowledge base of ~80+ markdown files across 14 domains (00-13),
Logseq graph, hardware design files (KiCAD), infrastructure configs,
and talas-wiki static site.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 20:10:41 +02:00

31 lines
1.2 KiB
HTML

{{define "title"}}Renommer: {{.Page.Title}} — Talas Wiki{{end}}
{{define "pagePath"}}{{encodeURL .Page.URLPath}}{{end}}
{{define "content"}}
<div class="breadcrumb">
<a href="/">/</a>
{{range breadcrumbs .Page.URLPath}}
/ <a href="/wiki/{{encodeURL .path}}">{{.name}}</a>
{{end}}
/ <span class="edit-marker">renommer</span>
</div>
<h1>Renommer: {{.Page.Title}}</h1>
<form method="POST" action="/rename" class="edit-form">
<input type="hidden" name="old_path" value="{{.Page.URLPath}}">
<div class="form-group">
<label class="form-label">Chemin actuel</label>
<input type="text" class="form-input" value="{{.Page.URLPath}}" disabled>
</div>
<div class="form-group">
<label class="form-label">Nouveau chemin</label>
<input type="text" name="new_path" class="form-input" value="{{.Page.URLPath}}" required autofocus>
</div>
<p class="subtitle">Les wikilinks dans tous les documents seront automatiquement mis a jour.</p>
<div class="edit-actions">
<button type="submit" class="btn-save">renommer</button>
<a href="/wiki/{{encodeURL .Page.URLPath}}" class="btn-cancel">annuler</a>
</div>
</form>
{{end}}