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.
Blame · server/web/templates/issue_edit.html
Line attribution on main · 29 line(s)
|
a4e7a99a
Keenan Nemetz
6d ago
|
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 | ||
|
ed03b3d1
Keenan Nemetz
6h ago
|
12 | <form method="post" action="/{{.Name}}/issues/{{.ID}}/edit" class="form-block"> |
|
a4e7a99a
Keenan Nemetz
6d ago
|
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 | |
|
802e0e52
Keenan Nemetz
5d ago
|
20 | <textarea name="body" data-autosize placeholder="What happened? What did you expect?">{{.Description}}</textarea> |
|
a4e7a99a
Keenan Nemetz
6d ago
|
21 | </label> |
| 22 | </div> | |
| 23 | <div class="form-actions"> | |
|
ed03b3d1
Keenan Nemetz
6h ago
|
24 | <a class="button secondary" href="/{{.Name}}/issues/{{.ID}}">{{icon "x"}}Cancel</a> |
|
a4e7a99a
Keenan Nemetz
6d ago
|
25 | <button type="submit">{{icon "check"}}Save changes</button> |
| 26 | </div> | |
| 27 | </form> | |
| 28 | {{template "footer" .}} | |
| 29 | {{end}} |