summaryrefslogtreecommitdiffstats
path: root/catalog-ui/app/scripts/view-models/admin-dashboard/add-category-modal/add-category-modal-view.html
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-ui/app/scripts/view-models/admin-dashboard/add-category-modal/add-category-modal-view.html')
-rw-r--r--catalog-ui/app/scripts/view-models/admin-dashboard/add-category-modal/add-category-modal-view.html41
1 files changed, 0 insertions, 41 deletions
diff --git a/catalog-ui/app/scripts/view-models/admin-dashboard/add-category-modal/add-category-modal-view.html b/catalog-ui/app/scripts/view-models/admin-dashboard/add-category-modal/add-category-modal-view.html
deleted file mode 100644
index 5718982661..0000000000
--- a/catalog-ui/app/scripts/view-models/admin-dashboard/add-category-modal/add-category-modal-view.html
+++ /dev/null
@@ -1,41 +0,0 @@
-<sdc-modal modal="modalInstance"
- type="classic"
- class="i-sdc-admin-add-category-modal modal-type-confirmation"
- header-translate="CREATE_CATEGORY_MODAL_HEADER"
- buttons="footerButtons"
- header-translate-values="{'modelType': '{{modelType}}' }"
- show-close-button="true"
- hide-background="false"
->
-
- <form novalidate class="w-sdc-form" name="forms.editForm">
-
- <div class="w-sdc-form-column">
- <div class="i-sdc-form-item"
- data-ng-class="{error:(editForm.categoryName.$dirty && editForm.categoryName.$invalid)}">
- <label class="i-sdc-form-label required" translate="CREATE_CATEGORY_MODAL_CATEGORY_NAME"
- translate-values="{'modelType': '{{modelType}}' }"></label>
- <input class="i-sdc-form-input"
- data-ng-model="category.name"
- data-ng-model-options="{ debounce: 200 }"
- type="text"
- name="categoryName"
- required="required"
- data-ng-minlength="4"
- data-ng-pattern="namePattern"
- maxlength="25"
- autofocus />
-
- <div class="input-error" data-ng-show="editForm.categoryName.$dirty && editForm.categoryName.$invalid">
- <span ng-show="editForm.categoryName.$error.required" translate="CREATE_CATEGORY_MODAL_REQUIRED" translate-values="{'modelType': '{{modelType}}' }"></span>
- <span ng-show="editForm.categoryName.$error.minlength" translate="CREATE_CATEGORY_MODAL_MINLENGTH" translate-values="{'minlength': '4', 'modelType': '{{modelType}}' }"></span>
- <span ng-show="editForm.categoryName.$error.pattern" translate="CREATE_CATEGORY_MODAL_PATTERN" translate-values="{'modelType': '{{modelType}}' }"></span>
- </div>
-
- </div>
-
- </div>
-
- </form>
-
-</sdc-modal>