<?php
/*
* Plugin-Name: Product Designer App
* Plugin-URI: https://productdesignerapp.com
* Author: productdesignerapp
* Page: Products
*/

if (!defined('ABSPATH'))
{
    exit;
}
?>
<div class="row">
    <div class="col-12 mt-2" id="pdapp-list-attr">
        <table class="table table-striped">
            <thead>
                <tr>
                    <th>{{ langs.product.attribute_name }}</th>
                    <th>{{ langs.product.stock }}</th>
                    <th>{{ langs.product.extra_price }}</th>
                </tr>
            </thead>
            <tbody>
                <tr v-for="(attr, aid) in pageAdd.data.attributes.values" :key="aid">
                    <th>{{attr.title}}</th>
                    <th><input class="form-control form-control-sm" type="number" min="0" step="1" placeholder="e.g : 10" :value="attr.stock" disabled></th>
                    <th><input class="form-control form-control-sm" type="number" min="0" step="0.1" placeholder="e.g : 1" :value="attr.price" disabled></th>
                </tr>
            </tbody>
        </table>
    </div>
</div>