/app/views/partials/product/edit.jade
https://bitbucket.org/kaiquewdev/front-in-sampa-example · Jade · 11 lines · 11 code · 0 blank · 0 comment · 0 complexity · 30bc51d12f51131b5676dda431459e4f MD5 · raw file
- h3 Edit product
- label(for='name') Name:
- input(ng-model='form.name', type='text', name='name') {{form.name}}
- br
- label(for='price') Price:
- input(ng-model='form.price', type='text', name='price') {{form.price}}
- br
- label(for='details') Details:
- textarea(ng-model='form.details', name='details') {{form.details}}
- br
- button(class='btn', ng-click='productEdit()') Save