Prettify html
parent
9cb6be067a
commit
60608b8b6c
|
@ -11,24 +11,42 @@
|
|||
<form class="form-horizontal" role="form" data-bind="with:newProduct">
|
||||
<div class="form-group">
|
||||
<div class="col-sm-12">
|
||||
<input type="text" class="form-control" placeholder="Name" data-bind="textInput:name">
|
||||
<input
|
||||
type="text"
|
||||
class="form-control"
|
||||
placeholder="Name"
|
||||
data-bind="textInput:name"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="col-sm-12">
|
||||
<input type="password" class="form-control" placeholder="Price" data-bind="textInput:price">
|
||||
<input
|
||||
type="password"
|
||||
class="form-control"
|
||||
placeholder="Price"
|
||||
data-bind="textInput:price"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="col-sm-12">
|
||||
<input type="password" class="form-control" placeholder="Stock" data-bind="textInput:stock">
|
||||
<input
|
||||
type="password"
|
||||
class="form-control"
|
||||
placeholder="Stock"
|
||||
data-bind="textInput:stock"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="col-sm-12">
|
||||
<button type="submit" class="btn btn-default" data-bind="{click:$parent.addProduct}">
|
||||
<i class="glyphicon glyphicon-plus-sign">
|
||||
</i> Add Product
|
||||
<button
|
||||
type="submit"
|
||||
class="btn btn-default"
|
||||
data-bind="{click:$parent.addProduct}"
|
||||
>
|
||||
<i class="glyphicon glyphicon-plus-sign"> </i> Add Product
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue