Login
4 branches 0 tags
Ben (Desktop/Arch) Improved integration tests a bit b4eb68e 1 month ago 109 Commits
rubhub / templates / project_new.html
<!DOCTYPE html>
<html>
  <head>
    <title>New project</title>
  </head>
  <body>
    {% include "sidebar.html" %}
    <main>
      <section>
        <h1>Create a new project</h1>
        {% if let Some(msg) = message %}
        <div class="message" role="status">{{ msg }}</div>
        {% endif %}
        <form method="post" action="/projects/new" class="stack card simple-form">
          <label>
            Name
            <input type="text" autofocus label="Project name" name="name" autocomplete="off"></input>
          </label>
          <label>
            Public access
            <select name="public_access">
              <option value="none" {% if public_access == "none" %}selected{% endif %}>None</option>
              <option value="read" {% if public_access == "read" %}selected{% endif %}>Read</option>
              <option value="write" {% if public_access == "write" %}selected{% endif %}>Write</option>
            </select>
          </label>
          <button type="submit">Create project</button>
        </form>
      </section>
    </main>
  </body>
</html>