forgejo/templates/org/new.tmpl

32 lines
1.6 KiB
Cheetah
Raw Normal View History

2014-06-23 07:40:49 +04:00
{{template "base/head" .}}
{{template "base/navbar" .}}
<div class="container" id="body">
2014-09-20 04:11:34 +04:00
<form action="{{AppSubUrl}}/org/create" method="post" class="form-horizontal card" id="org-create">
2014-06-23 07:40:49 +04:00
{{.CsrfTokenHtml}}
<h3>Create New Organization</h3>
{{template "base/alert" .}}
2014-06-25 08:44:48 +04:00
<div class="form-group {{if .Err_OrgName}}has-error has-feedback{{end}}">
2014-06-23 07:40:49 +04:00
<label class="col-md-2 control-label">Organization<strong class="text-danger">*</strong></label>
<div class="col-md-8">
2014-06-25 08:44:48 +04:00
<input name="orgname" type="text" class="form-control" placeholder="Type your organization name" value="{{.orgname}}" required="required">
2014-06-23 07:40:49 +04:00
<span class="help-block">Great organization names are short and memorable. </span>
</div>
</div>
2014-07-03 00:42:16 +04:00
<div class="form-group{{if .Err_Email}} has-error has-feedback{{end}}">
2014-06-23 07:40:49 +04:00
<label class="col-md-2 control-label">Email<strong class="text-danger">*</strong></label>
<div class="col-md-8">
2014-06-25 08:44:48 +04:00
<input name="email" type="text" class="form-control" placeholder="Type organization's email" value="{{.email}}" required="required">
2014-06-23 07:40:49 +04:00
<span class="help-block">Organization's Email receives all notifications and confirmations.</span>
</div>
</div>
<div class="form-group">
<div class="col-md-offset-2 col-md-8">
<button type="submit" class="btn btn-lg btn-primary">Create An Organization</button>
2014-09-20 04:11:34 +04:00
<a href="{{AppSubUrl}}/" class="text-danger">Cancel</a>
2014-06-23 07:40:49 +04:00
</div>
</div>
</form>
</div>
{{template "base/footer" .}}