Login
4 branches 0 tags
Ben (Desktop/Arch) CI 48cebc6 18 days ago 225 Commits
rubhub / templates / project / talk / new.html
<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_talk() }}">Talk</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 }}/talk/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>