summaryrefslogtreecommitdiffstats
path: root/mansrht/templates/create.html
blob: 5729c96eb55700b4e6120ef1c106fc1a0b3d2918 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{% extends "man.html" %}
{% block title %}
<title>create wiki - man.sr.ht</title>
{% endblock %}
{% block content %}
<div class="container">
  <div class="row">
    <section class="col-md-6">
      <h3 id="create">Create new wiki</h3>
      <form method="POST" action="/wiki/create">
        {{csrf_token()}}
        <div class="form-group">
          <label for="name">Name</label>
          <input
            {% if another %}
            autofocus
            {% endif %}
            type="text"
            name="name"
            id="name"
            class="form-control {{valid.cls("name")}}"
            value="{{ repo_name or "" }}" />
          {{valid.summary("name")}}
        </div>
        <button type="submit" class="btn btn-primary">
          Create {{icon("caret-right")}}
        </button>
      </form>
    </section>
  </div>
</div>
{% endblock %}