]> git.apps.os.sepia.ceph.com Git - ceph.git/blob
9aacaa43cb0910a5b4c8bb2c0728135406241f7f
[ceph.git] /
1 <cd-modal [modalRef]="modalRef">
2   <ng-container i18n
3                 class="modal-title">Edit site name</ng-container>
4
5   <ng-container class="modal-content">
6     <form name="editSiteNameForm"
7           class="form"
8           #formDir="ngForm"
9           [formGroup]="editSiteNameForm"
10           novalidate>
11       <div class="modal-body">
12         <p>
13           <ng-container i18n>Edit the site name and click&nbsp;
14           <kbd>Update</kbd>.</ng-container>
15         </p>
16
17         <div class="form-group">
18           <label class="col-form-label required"
19                  for="siteName"
20                  i18n>Site Name</label>
21           <input class="form-control"
22                  type="text"
23                  placeholder="Name..."
24                  i18n-placeholder
25                  id="siteName"
26                  name="siteName"
27                  formControlName="siteName"
28                  autofocus>
29         </div>
30       </div>
31
32       <div class="modal-footer">
33         <cd-submit-button i18n
34                           [form]="editSiteNameForm"
35                           (submitAction)="update()">Update</cd-submit-button>
36         <cd-back-button [back]="modalRef.hide"
37                         name="Cancel"
38                         i18n-name>
39         </cd-back-button>
40       </div>
41     </form>
42   </ng-container>
43 </cd-modal>