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/git/vole.git

Write over SSH with a registered key:

git clone ssh://git@0.0.0.0:2222/vole.git

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

Blame · server/web/templates/issue_new.html

Line attribution on main · 34 line(s)

f09ef39e
Keenan Nemetz
15d ago
1 {{define "issue_new"}}
2 {{template "header" .}}
5d440e37
Keenan Nemetz
10d ago
3 {{template "repohead" (nav .Page "issues")}}
f09ef39e
Keenan Nemetz
15d ago
4
5 <div class="page-head">
a464f892
Keenan Nemetz
15d ago
6 <div class="page-head-main">
f09ef39e
Keenan Nemetz
15d ago
7 <h1>New issue</h1>
8 <p class="page-sub">Describe the problem and what you expected to happen. Markdown is welcome.</p>
9 </div>
10 </div>
11
ed03b3d1
Keenan Nemetz
3h ago
12 <form method="post" action="/{{.Name}}/issues" class="form-block">
f09ef39e
Keenan Nemetz
15d ago
13 <input type="hidden" name="csrf" value="{{.CSRF}}">
14 <div class="card form-card">
15 <label>Title
16 <input type="text" name="title" required maxlength="200" autofocus>
17 </label>
18 <label>Description
19 <textarea name="body" placeholder="What happened? What did you expect?"></textarea>
20 </label>
21 <label>Labels
306f36fc
Keenan Nemetz
12d ago
22 {{template "token_input" (tokenPicker nil .Labels "label" "Add labels…")}}
f09ef39e
Keenan Nemetz
15d ago
23 </label>
24 <label>Assignees
306f36fc
Keenan Nemetz
12d ago
25 {{template "token_input" (tokenPicker nil .Assignees "assignee" "Add assignees…")}}
f09ef39e
Keenan Nemetz
15d ago
26 </label>
27 </div>
28 <div class="form-actions">
ed03b3d1
Keenan Nemetz
3h ago
29 <a class="button secondary" href="/{{.Name}}/issues">{{icon "x"}}Cancel</a>
f09ef39e
Keenan Nemetz
15d ago
30 <button type="submit">{{icon "plus"}}Open issue</button>
31 </div>
32 </form>
33 {{template "footer" .}}
34 {{end}}