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

if (!defined('ABSPATH'))
{
    exit;
}
?>
<template v-if="modal.type == 'view'">
    <div class="modal-body">
        <label class="form-label">{{ langs.product.custom_view }}</label>
        <input type="number" min="1" max="100" step="1" class="form-control" v-model="modal.data.view" :placeholder="langs.product.custom_view_desc">
    </div>

    <div class="modal-footer">
        <button type="button" class="btn btn-light" @click="modal.show = false">{{ langs.cancel }}</button>
        <button type="button" class="btn btn-primary" :disabled="modal.data.view <= 0" @click="setCustomView('modal')">{{ langs.ok }}</button>
    </div>
</template>