~gitpocket/gitpocket

1
af815685d040d56e317c6675f43a4150693c1916
mainfeed-discovery
gitpocket/templates/neworg.html -rw-r--r--667 bytes ViewLogBlameView rawPermalink c7656bd906 feat(admin): add registration modes, admin page, user created organisations and repo redirects 4 hours ago
1
2
3
4
5
6
7
8
{{define "content"}}
<h3 class="rule">Create an organisation</h3>
<p class="muted">An organisation owns repositories on behalf of a group. You become its first member, and every member can push to its repositories, create new ones under it and edit its page.</p>
<form method="post" action="/orgs/new" class="stack wide">
<label>Name <input name="name" required autofocus pattern="[a-z0-9][a-z0-9_.-]{0,38}" value="{{with .Data}}{{.Name}}{{end}}"><small>Lowercase letters, digits, dot, dash or underscore. It shares the namespace with users.</small></label>
<div class="actions left"><button class="btn primary">Create organisation ▸</button></div>
</form>
{{end}}