Sign in

Search issue titles and bodies, change requests and comments. Private repositories you cannot read are not included.

vole
Clone

Read only, no credentials:

https://rodent.software/vole.git

Write over SSH with a registered key:

git clone ssh://git@rodent.software:2222/vole.git

A free and open-source forge that lives in your Git repo.

Code

395 commit(s) on main

update readme Keenan Nemetz · 37m ago 32290114
history blame raw 1.0 KiB
1{{define "issue_edit"}}
2{{template "header" .}}
3{{template "repohead" (nav .Page "issues")}}
4
5<div class="page-head">
6 <div class="page-head-main">
7 <h1>Edit issue</h1>
8 <p class="page-sub">Correct the title or the description. The discussion stays as it is.</p>
9 </div>
10</div>
11
12<form method="post" action="/{{.Name}}/issues/{{.ID}}/edit" class="form-block">
13 <input type="hidden" name="csrf" value="{{.CSRF}}">
14 <div class="card form-card">
15 {{if .Error}}<p class="error">{{.Error}}</p>{{end}}
16 <label>Title
17 <input type="text" name="title" required maxlength="200" value="{{.Title}}" autofocus>
18 </label>
19 <label>Description
20 <textarea name="body" data-autosize placeholder="What happened? What did you expect?">{{.Description}}</textarea>
21 </label>
22 </div>
23 <div class="form-actions">
24 <a class="button secondary" href="/{{.Name}}/issues/{{.ID}}">{{icon "x"}}Cancel</a>
25 <button type="submit">{{icon "check"}}Save changes</button>
26 </div>
27</form>
28{{template "footer" .}}
29{{end}}
30