<?php add_product(); ?>
<div class="col-md-12">

<div class="row">
<h1 class="page-header">
   Dodaj proizvod
</h1>
</div>

<form action="" method="post" enctype="multipart/form-data">


<div class="col-md-8">

<div class="form-group">
    <label for="product-title">Naziv proizvoda</label>
        <input type="text" name="product_title" class="form-control">
       
    </div>


    <div class="form-group">
           <label for="product-title">Opis proizvoda:</label>
      <textarea name="product_description" id="" cols="30" rows="10" class="form-control ckeditor"></textarea>
    </div>   
     
    <div class="form-group">
           <label for="product-title">Kratak opis proizvoda</label>
      <textarea name="short_desc" id="" cols="30" rows="3" class="form-control"></textarea>
    </div>    

</div><!--Main Content-->


<!-- SIDEBAR-->


<aside id="admin_sidebar" class="col-md-4">

     
     <div class="form-group">
<!--       <input type="submit" name="draft" class="btn btn-warning btn-lg" value="Draft">-->
        <input type="submit" name="publish" class="btn btn-primary btn-lg" value="Objavi">
    </div>


     <!-- Product Categories-->

    <div class="form-group">
        <label for="product-title">Kategorija proizvoda</label>
        <select name="product_category_id" id="" class="form-control">
            <option value="">Izaberi kategoriju</option>
            <?php show_categories_add_product_page(); ?>
        </select>

    </div>
    
    <div class="form-group">
        <label for="product-price">Cena proizvoda</label>
        <input type="number" name="product_price" class="form-control" size="60">
      </div>
      <div class="form-group">
        <label for="product-title">Količina proizvoda</label>
        <input type="number" name="product_quantity" class="form-control">
      </div>   
<!-- Product Brands-->
<!--
    <div class="form-group">
      <label for="product-title">Product Brand</label>
         <select name="product_brand" id="" class="form-control">
            <option value="">Select Brand</option>
         </select>
    </div>
-->


<!-- Product Tags -->


<!--
    <div class="form-group">
          <label for="product-title">Product Keywords</label>
          <hr>
        <input type="text" name="product_tags" class="form-control">
    </div>
-->

    <!-- Product Image -->
    <div class="form-group">
        <label for="product-title">Slika proizvoda</label>
        <input type="file" name="file">
      
    </div>



</aside><!--SIDEBAR-->


    
</form>