| 1 |
{% extends "base.html" %} |
| 2 |
{% block title %}New organisation{% endblock %} |
| 3 |
{% block content %} |
| 4 |
<div class="head"><h1>New organisation <small>an owner for shared repositories, with members and teams</small></h1></div> |
| 5 |
{% if let Some(e) = error %}<p class="error">{{ e }}</p>{% endif %} |
| 6 |
<form class="card" method="post" action="/orgs/new"> |
| 7 |
<input type="hidden" name="_csrf" value="{{ shell.csrf }}"> |
| 8 |
<label for="name">Name</label><input type="text" id="name" name="name" required pattern="[A-Za-z0-9][A-Za-z0-9._-]{0,63}"> |
| 9 |
<label for="display_name">Display name</label><input type="text" id="display_name" name="display_name"> |
| 10 |
<button type="submit">CREATE</button> |
| 11 |
</form> |
| 12 |
{% endblock %} |