mirror of
https://github.com/bitwarden/browser
synced 2026-02-22 04:14:04 +00:00
32 lines
1.5 KiB
HTML
32 lines
1.5 KiB
HTML
<div class="modal-header">
|
|
<button type="button" class="close" ng-click="close()" aria-label="Close"><span aria-hidden="true">×</span></button>
|
|
<h4 class="modal-title"><i class="fa fa-share-alt"></i> Add Collection</h4>
|
|
</div>
|
|
<form name="form" ng-submit="form.$valid && submit(model)" api-form="submitPromise">
|
|
<div class="modal-body">
|
|
<div class="callout callout-danger validation-errors" ng-show="form.$errors">
|
|
<h4>Errors have occured</h4>
|
|
<ul>
|
|
<li ng-repeat="e in form.$errors">{{e}}</li>
|
|
</ul>
|
|
</div>
|
|
<div class="form-group" show-errors>
|
|
<label for="email">Name</label>
|
|
<input type="text" id="name" name="Name" ng-model="model.name" class="form-control" required api-field />
|
|
</div>
|
|
<div class="callout callout-default">
|
|
<h4><i class="fa fa-info-circle"></i> Note</h4>
|
|
<p>
|
|
After creating the collection, you can associate a user to it by selecting a specific user on the "People" page.
|
|
</p>
|
|
<p>You can associate logins to the collection by sharing from "My vault".</p>
|
|
</div>
|
|
</div>
|
|
<div class="modal-footer">
|
|
<button type="submit" class="btn btn-primary btn-flat" ng-disabled="form.$loading">
|
|
<i class="fa fa-refresh fa-spin loading-icon" ng-show="form.$loading"></i>Submit
|
|
</button>
|
|
<button type="button" class="btn btn-default btn-flat" ng-click="close()">Close</button>
|
|
</div>
|
|
</form>
|