parent
b76298121d
commit
18fe8a4d7c
3 changed files with 44 additions and 10 deletions
|
@ -36,19 +36,30 @@
|
|||
<form method="post" name="newOrgForm" id="newOrgForm" ng-submit="createNewOrg()">
|
||||
<div class="form-group nested">
|
||||
<label for="orgName">Organization Name</label>
|
||||
<input id="orgName" name="orgName" type="text" class="form-control"
|
||||
placeholder="Organization Name"
|
||||
ng-model="org.name" required autofocus data-trigger="manual"
|
||||
data-content="{{ createError }}"
|
||||
data-placement="bottom" data-container="body" ng-pattern="/^[a-z0-9_]{4,30}$/">
|
||||
<span class="description">This will also be the namespace for your repositories. Must be alphanumeric and all lowercase.</span>
|
||||
<div class="field-row">
|
||||
<span class="field-container">
|
||||
<input id="orgName" name="orgName" type="text" class="form-control"
|
||||
placeholder="Organization Name"
|
||||
ng-model="org.name" required autofocus data-trigger="manual"
|
||||
data-content="{{ createError }}"
|
||||
data-placement="bottom" data-container="body" ng-pattern="/^[a-z0-9_]{4,30}$/">
|
||||
</span>
|
||||
<span class="co-alert co-alert-warning thin" ng-show="!newOrgForm.orgName.$error.required && !newOrgForm.orgName.$valid">
|
||||
Organization names must match [a-z0-9_]+ and be at least four characters in length.
|
||||
</span>
|
||||
</div>
|
||||
<span class="description">This will also be the namespace for your repositories. Must be alphanumeric, all lowercase and at least four characters long.</span>
|
||||
</div>
|
||||
|
||||
<div class="form-group nested">
|
||||
<label for="orgName">Organization Email</label>
|
||||
<input id="orgEmail" name="orgEmail" type="email" class="form-control" placeholder="Organization Email"
|
||||
ng-model="org.email" required>
|
||||
<span class="description">This address must be different from your account's email.</span>
|
||||
<div class="field-row">
|
||||
<span class="field-container">
|
||||
<input id="orgEmail" name="orgEmail" type="email" class="form-control" placeholder="Organization Email"
|
||||
ng-model="org.email" required>
|
||||
<span class="description">This address must be different from your account's email.</span>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Plans Table -->
|
||||
|
|
Reference in a new issue