projects
/
outofuni
/
tavern2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cleaups and content page refresh (in progress)
[outofuni/tavern2.git]
/
lib
/
product_category_component.html
diff --git
a/lib/product_category_component.html
b/lib/product_category_component.html
index
e255a54
..
7b1df92
100644
(file)
--- a/
lib/product_category_component.html
+++ b/
lib/product_category_component.html
@@
-20,14
+20,9
@@
[(ngModel)]="new_prod_category_name">
<label class="mdl-textfield__label" for=ptn>Name</label>
</div>
[(ngModel)]="new_prod_category_name">
<label class="mdl-textfield__label" for=ptn>Name</label>
</div>
- <div class="mdl-textfield mdl-js-textfield
- mdl-textfield--floating-label ain">
- <input class="mdl-textfield__input" type=text id=pti
- [(ngModel)]="new_prod_category_id">
- <label class="mdl-textfield__label" for=pti>Identifier</label>
- </div>
<button class="mdl-button mdl-js-button mdl-button--raised abtn"
<button class="mdl-button mdl-js-button mdl-button--raised abtn"
- (click)="createProductCategory()">
+ (click)="createProductCategory()"
+ [disabled]="new_prod_category_name==''">
Create
</button>
</div>
Create
</button>
</div>