/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

  1. h3 Edit product
  2. label(for='name') Name:
  3. input(ng-model='form.name', type='text', name='name') {{form.name}}
  4. br
  5. label(for='price') Price:
  6. input(ng-model='form.price', type='text', name='price') {{form.price}}
  7. br
  8. label(for='details') Details:
  9. textarea(ng-model='form.details', name='details') {{form.details}}
  10. br
  11. button(class='btn', ng-click='productEdit()') Save