Login
4 branches 0 tags
Ben (T14s/Arch Linux) Syntax highlighting a362c13 1 month ago 174 Commits
rubhub / templates / issue_new.html
<!DOCTYPE html>
<html>

  <head>
    <title>New Issue - {{ owner.name }}/{{ project.name }}</title>
  </head>

  <body>
    {% include "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 "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">
          {{ csrf_token_field|safe }}
          <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">Create Issue</button>
        </form>
      </section>
    </main>
  </body>

</html>