]> git.apps.os.sepia.ceph.com Git - ceph.git/blob
f0c91976802bec4b2ac5f9c0262b0e21434bd103
[ceph.git] /
1 <cd-modal [modalRef]="activeModal">
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-form-button-panel (submitActionEvent)="update()"
34                               [form]="editSiteNameForm"
35                               [submitText]="actionLabels.UPDATE"></cd-form-button-panel>
36       </div>
37     </form>
38   </ng-container>
39 </cd-modal>