navid/veinsforge / f19b5da8080ed8686dfea72c79bec23d4628b62386bdf7c391249f8a5ff2e44a / internal/web/templates/issue_new.html

issue_new.html

← internal/web/templates · 618 bytes · raw · download

{{define "content"}}
<p class="kicker"><a href="{{repoURL .Data.Repo}}">{{.Data.Repo.OwnerName}}/{{.Data.Repo.Name}}</a> / issues</p>
<h1>New issue</h1>
<form class="form-narrow" method="post" action="{{repoURL .Data.Repo}}/issues">
  <input type="hidden" name="csrf" value="{{.CSRF}}">
  <label>Title
    <input name="title" required maxlength="256" autofocus placeholder="Short, specific summary">
  </label>
  <label>Description
    <textarea name="body" rows="12" maxlength="65536" placeholder="Markdown is supported."></textarea>
  </label>
  <button class="btn" type="submit">Open issue</button>
</form>
{{end}}