{% extends 'settings/index.html' %}

{% block header_text %}<h1><i class="fa-solid fa-plus"></i> Create Repository</h1>{% endblock %}

{% block main %}
{% include 'settings/repositories/form.html' %}
  <div class="container">
    <form action="/settings/repositories/create.html" method="post">
      <div>
        <label for="name"><i class="fa-solid fa-book"></i> Name</label>
        <input type="text" id="name" name="name" required placeholder="Repository name">
      </div>
      <div>
        <label>
          <input type="checkbox" name="is_private" value="1">
          <i class="fa-solid fa-lock"></i> Private
        </label>
      </div>
      <button type="submit"><i class="fa-solid fa-pen"></i> Update</button>
      <button onclick="history.back()" class="cancel"><i class="fa-solid fa-arrow-left"></i>Cancel</button>

    </form>
  </div>
  {% endblock %}
