text/html
•
1.25 KB
•
40 lines
<html>
<head>
<title>New Issue - {{ owner.name }}/{{ project.name }}</title>
</head>
<body>
{% include "partials/sidebar.html" %}
<main>
<section>
<div class="page-header">
<h1 class="project-header">
<a href="{{ owner.uri() }}">{{ owner.name }}</a> /
<a href="{{ project.uri() }}">{{ project.name }}</a> /
<a href="{{ project.uri_issues() }}">Issues</a> /
new
</h1>
</div>
{% include "partials/project_tabs.html" %}
{% if let Some(msg) = message %}
<div class="message" role="status">{{ msg }}</div>
{% endif %}
<form method="post" action="/~{{ owner.slug }}/{{ project.slug }}/issues/new" class="stack card simple-form">
<label>
Title
<input type="text" name="title" autofocus autocomplete="off" required placeholder="Issue title">
</label>
<label>
Description (Markdown supported)
<textarea name="content" rows="10" required placeholder="Describe your issue here..."></textarea>
</label>
<button type="submit"><span class="icon i-plus"></span> Create Issue</button>
</form>
</section>
</main>
</body>
</html>