Sha256: 6dc4bfdc63ad89b1176b8218ea93819fc7a2747671c999c9ba6ee1676a02477d
Contents?: true
Size: 906 Bytes
Versions: 10
Compression:
Stored size: 906 Bytes
Contents
.row{ "ng-controller" => "ShopController" } .col-md-4.col-md-offset-4.col-xs-12 .row.no-padding .col-xs-7 %input.form-control{ type: "text", placeholder: "name", "ng-model" => "item.name" } .col-xs-3 %input.form-control{ type: "number", placeholder: "Qty", min: 0, "ng-model" => "item.qty" } .col-xs-2 %a.pull-right.btn.btn-primary{ "ng-click" => "create()"} %i.fa.fa-plus .col-xs-12 %hr .col-md-4.col-md-offset-4.col-xs-12{ "ng-repeat" => "si in shopping_items" } .row.no-padding .col-xs-7 %input.form-control{ type: "text", "ng-model" => "si.name", "ng-blur" => "update(si)"} .col-xs-3 %input.form-control{ type: "number", placeholder: "Qty", min: 0, "ng-model" => "si.qty", "ng-blur" => "update(si)" } .col-xs-2 %a.btn.btn-primary{ "ng-click" => "delete(si.id)" } %i.fa.fa-trash
Version data entries
10 entries across 10 versions & 1 rubygems