diff options
Diffstat (limited to 'web/static/app/templates/edit-attribute.modal.html')
-rw-r--r-- | web/static/app/templates/edit-attribute.modal.html | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/web/static/app/templates/edit-attribute.modal.html b/web/static/app/templates/edit-attribute.modal.html new file mode 100644 index 0000000..effa08f --- /dev/null +++ b/web/static/app/templates/edit-attribute.modal.html @@ -0,0 +1,32 @@ +<form name="form" ng-submit="ctrl.update()"> + <div class="modal-header"> + <button type="button" class="close" ng-click="$dismiss()"> + <span>×</span> + </button> + <h4 class="modal-title">{{ctrl.title}}</h4> + </div> + <div class="modal-body"> + <fieldset class="form-group"> + <label for="attribute" class="text-capitalize">{{ctrl.label}}</label> + <input type="text" class="form-control" id="attribute" autofocus + ng-model="ctrl.value"/> + </fieldset> + </div> + <div class="modal-footer"> + + <div class="row"> + <div class="col-sm-7 text-left"> + <p class="form-control-static"> + {{ctrl.error}} + </p> + </div> + <div class="col-sm-5"> + <button type="button" class="btn btn-secondary" ng-click="$dismiss()">Cancel</button> + <button type="submit" class="btn btn-primary" + ng-disabled="form.$invalid"> + Update + </button> + </div> + </div> + </div> +</form> |