<?php

/* extension/module/product_buy_now.twig */
class __TwigTemplate_c14a144c38e81892d8915fc44322f6b5231c2306265bfdb34cac678da7b33f24 extends Twig_Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        $this->parent = false;

        $this->blocks = array(
        );
    }

    protected function doDisplay(array $context, array $blocks = array())
    {
        // line 1
        echo (isset($context["header"]) ? $context["header"] : null);
        echo (isset($context["column_left"]) ? $context["column_left"] : null);
        echo "
    
<div id=\"content\">
  <div class=\"page-header\">
    <div class=\"container-fluid\">
      <div class=\"pull-right\">
        <button type=\"submit\" form=\"form-product-buy-now\" data-toggle=\"tooltip\" title=\"";
        // line 7
        echo (isset($context["button_save"]) ? $context["button_save"] : null);
        echo "\" class=\"btn btn-primary\"><i class=\"fa fa-save\"></i></button>
        <a href=\"";
        // line 8
        echo (isset($context["cancel"]) ? $context["cancel"] : null);
        echo "\" data-toggle=\"tooltip\" title=\"";
        echo (isset($context["button_cancel"]) ? $context["button_cancel"] : null);
        echo "\" class=\"btn btn-default\"><i class=\"fa fa-reply\"></i></a></div>
      <h1>";
        // line 9
        echo (isset($context["heading_title"]) ? $context["heading_title"] : null);
        echo "</h1>
      <ul class=\"breadcrumb\">
        <?php foreach (\$breadcrumbs as \$breadcrumb) { ?>
        <li><a href=\"";
        // line 12
        echo $this->getAttribute((isset($context["breadcrumb"]) ? $context["breadcrumb"] : null), "href", array());
        echo "\">";
        echo $this->getAttribute((isset($context["breadcrumb"]) ? $context["breadcrumb"] : null), "text", array());
        echo "</a></li>
        <?php } ?>
      </ul>
    </div>
  </div>
  <div class=\"container-fluid\">
    ";
        // line 18
        if ((isset($context["error_warning"]) ? $context["error_warning"] : null)) {
            // line 19
            echo "    <div class=\"alert alert-danger\"><i class=\"fa fa-exclamation-circle\"></i> ";
            echo (isset($context["error_warning"]) ? $context["error_warning"] : null);
            echo "
      <button type=\"button\" class=\"close\" data-dismiss=\"alert\">&times;</button>
    </div>
    ";
        }
        // line 23
        echo "    <div class=\"panel panel-default\">
      <div class=\"panel-heading\">
        <h3 class=\"panel-title\"><i class=\"fa fa-pencil\"></i> ";
        // line 25
        echo (isset($context["text_edit"]) ? $context["text_edit"] : null);
        echo "</h3>
      </div>
      <div class=\"panel-body\">
        <form action=\"";
        // line 28
        echo (isset($context["action"]) ? $context["action"] : null);
        echo "\" method=\"post\" enctype=\"multipart/form-data\" id=\"form-product-buy-now\" class=\"form-horizontal\">
          <div class=\"form-group\">
            <label class=\"col-sm-2 control-label\" for=\"input-status\">";
        // line 30
        echo (isset($context["entry_status"]) ? $context["entry_status"] : null);
        echo "</label>
            <div class=\"col-sm-10\">
              <select name=\"buy_now_status\" id=\"input-status\" class=\"form-control\">
                ";
        // line 33
        if ((isset($context["buy_now_status"]) ? $context["buy_now_status"] : null)) {
            echo " 
                <option value=\"1\" selected=\"selected\">";
            // line 34
            echo (isset($context["text_enabled"]) ? $context["text_enabled"] : null);
            echo "</option>
                <option value=\"0\">";
            // line 35
            echo (isset($context["text_disabled"]) ? $context["text_disabled"] : null);
            echo "</option>
                  ";
        } else {
            // line 37
            echo "                <option value=\"1\">";
            echo (isset($context["text_enabled"]) ? $context["text_enabled"] : null);
            echo "</option>
                <option value=\"0\" selected=\"selected\">";
            // line 38
            echo (isset($context["text_disabled"]) ? $context["text_disabled"] : null);
            echo "</option>
               ";
        }
        // line 40
        echo "              </select>
            </div>
          </div>
          <div class=\"form-group\">
            <label class=\"col-sm-2 control-label\" for=\"input-status\">Button text</label>
            <div class=\"col-sm-10\">
             <input type=\"text\" name=\"buy_now_text\" class=\"form-control\" value=\"";
        // line 46
        echo (isset($context["buy_now_text"]) ? $context["buy_now_text"] : null);
        echo "\">
            </div>
          </div>
          <div class=\"form-group\">
            <label class=\"col-sm-2 control-label\" for=\"input-status\">Button text color</label>
            <div class=\"col-sm-10\">
             <input type=\"text\" name=\"buy_now_text_color\" class=\"form-control demo\" data-control=\"hue\" value=\"";
        // line 52
        echo (isset($context["buy_now_text_color"]) ? $context["buy_now_text_color"] : null);
        echo "\">
            </div>
          </div>
          <div class=\"form-group\">
            <label class=\"col-sm-2 control-label\" for=\"input-status\">Button color</label>
            <div class=\"col-sm-10\">
             <input type=\"text\" name=\"buy_now_color\" class=\"form-control demo\" data-control=\"hue\" value=\"";
        // line 58
        echo (isset($context["buy_now_color"]) ? $context["buy_now_color"] : null);
        echo "\">
            </div>
          </div>
          <div class=\"form-group\">
            <label class=\"col-sm-2 control-label\" for=\"input-status\">Button Width</label>
            <div class=\"col-sm-10\">
             <input type=\"text\" name=\"buy_now_width\" class=\"form-control\" value=\"";
        // line 64
        echo (isset($context["buy_now_width"]) ? $context["buy_now_width"] : null);
        echo "\" placeholder=\"Width in px\">
            </div>
          </div>
          <div class=\"form-group\">
            <label class=\"col-sm-2 control-label\" for=\"input-status\">Button Height</label>
            <div class=\"col-sm-10\">
             <input type=\"text\" name=\"buy_now_height\" class=\"form-control\" value=\"";
        // line 70
        echo (isset($context["buy_now_height"]) ? $context["buy_now_height"] : null);
        echo "\" placeholder=\"Height in px\">
            </div>
          </div>
\t\t           <div class=\"form-group\">
            <label class=\"col-sm-2 control-label\" for=\"input-status\">Button Font Size</label>
            <div class=\"col-sm-10\">
             <input type=\"text\" name=\"buy_now_font_size\" class=\"form-control\" value=\"";
        // line 76
        echo (isset($context["buy_now_font_size"]) ? $context["buy_now_font_size"] : null);
        echo "\" placeholder=\"font size in px\">
            </div>
          </div>
\t\t  
        </form>
      </div>
    </div>
  </div>
</div>
<script src=\"view/javascript/bootstrap/colorpicker/jquery.minicolors.min.js\" type=\"text/javascript\"></script>
<link href=\"view/javascript/bootstrap/colorpicker/jquery.minicolors.css\" type=\"text/css\" rel=\"stylesheet\"/>
<!--<link href=\"https://mjolnic.com/bootstrap-colorpicker/dist/css/bootstrap-colorpicker.min.css\" rel=\"stylesheet\">
<script src=\"https://mjolnic.com/bootstrap-colorpicker/dist/js/bootstrap-colorpicker.js\"></script>-->
<script type=\"text/javascript\">
\$(function(){
  var colpick = \$('.demo').each( function() {
    \$(this).minicolors({
      control: \$(this).attr('data-control') || 'hue',
      inline: \$(this).attr('data-inline') === 'true',
      letterCase: 'lowercase',
      opacity: false,
      change: function(hex, opacity) {
        if(!hex) return;
        if(opacity) hex += ', ' + opacity;
        try {
          console.log(hex);
        } catch(e) {}
        \$(this).select();
      },
      theme: 'bootstrap'
    });
  });
  
  var \$inlinehex = \$('#inlinecolorhex h3 small');
  \$('#inlinecolors').minicolors({
    inline: true,
    theme: 'bootstrap',
    change: function(hex) {
      if(!hex) return;
      \$inlinehex.html(hex);
    }
  });
});
</script>
";
        // line 120
        echo (isset($context["footer"]) ? $context["footer"] : null);
        echo "
";
    }

    public function getTemplateName()
    {
        return "extension/module/product_buy_now.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  210 => 120,  163 => 76,  154 => 70,  145 => 64,  136 => 58,  127 => 52,  118 => 46,  110 => 40,  105 => 38,  100 => 37,  95 => 35,  91 => 34,  87 => 33,  81 => 30,  76 => 28,  70 => 25,  66 => 23,  58 => 19,  56 => 18,  45 => 12,  39 => 9,  33 => 8,  29 => 7,  19 => 1,);
    }
}
/* {{ header }}{{ column_left }}*/
/*     */
/* <div id="content">*/
/*   <div class="page-header">*/
/*     <div class="container-fluid">*/
/*       <div class="pull-right">*/
/*         <button type="submit" form="form-product-buy-now" data-toggle="tooltip" title="{{button_save}}" class="btn btn-primary"><i class="fa fa-save"></i></button>*/
/*         <a href="{{cancel }}" data-toggle="tooltip" title="{{button_cancel }}" class="btn btn-default"><i class="fa fa-reply"></i></a></div>*/
/*       <h1>{{heading_title }}</h1>*/
/*       <ul class="breadcrumb">*/
/*         <?php foreach ($breadcrumbs as $breadcrumb) { ?>*/
/*         <li><a href="{{breadcrumb.href }}">{{ breadcrumb.text }}</a></li>*/
/*         <?php } ?>*/
/*       </ul>*/
/*     </div>*/
/*   </div>*/
/*   <div class="container-fluid">*/
/*     {% if error_warning %}*/
/*     <div class="alert alert-danger"><i class="fa fa-exclamation-circle"></i> {{error_warning }}*/
/*       <button type="button" class="close" data-dismiss="alert">&times;</button>*/
/*     </div>*/
/*     {% endif %}*/
/*     <div class="panel panel-default">*/
/*       <div class="panel-heading">*/
/*         <h3 class="panel-title"><i class="fa fa-pencil"></i> {{text_edit }}</h3>*/
/*       </div>*/
/*       <div class="panel-body">*/
/*         <form action="{{action }}" method="post" enctype="multipart/form-data" id="form-product-buy-now" class="form-horizontal">*/
/*           <div class="form-group">*/
/*             <label class="col-sm-2 control-label" for="input-status">{{entry_status }}</label>*/
/*             <div class="col-sm-10">*/
/*               <select name="buy_now_status" id="input-status" class="form-control">*/
/*                 {% if buy_now_status %} */
/*                 <option value="1" selected="selected">{{text_enabled }}</option>*/
/*                 <option value="0">{{text_disabled }}</option>*/
/*                   {% else %}*/
/*                 <option value="1">{{text_enabled }}</option>*/
/*                 <option value="0" selected="selected">{{text_disabled }}</option>*/
/*                {% endif %}*/
/*               </select>*/
/*             </div>*/
/*           </div>*/
/*           <div class="form-group">*/
/*             <label class="col-sm-2 control-label" for="input-status">Button text</label>*/
/*             <div class="col-sm-10">*/
/*              <input type="text" name="buy_now_text" class="form-control" value="{{buy_now_text }}">*/
/*             </div>*/
/*           </div>*/
/*           <div class="form-group">*/
/*             <label class="col-sm-2 control-label" for="input-status">Button text color</label>*/
/*             <div class="col-sm-10">*/
/*              <input type="text" name="buy_now_text_color" class="form-control demo" data-control="hue" value="{{buy_now_text_color }}">*/
/*             </div>*/
/*           </div>*/
/*           <div class="form-group">*/
/*             <label class="col-sm-2 control-label" for="input-status">Button color</label>*/
/*             <div class="col-sm-10">*/
/*              <input type="text" name="buy_now_color" class="form-control demo" data-control="hue" value="{{buy_now_color }}">*/
/*             </div>*/
/*           </div>*/
/*           <div class="form-group">*/
/*             <label class="col-sm-2 control-label" for="input-status">Button Width</label>*/
/*             <div class="col-sm-10">*/
/*              <input type="text" name="buy_now_width" class="form-control" value="{{buy_now_width }}" placeholder="Width in px">*/
/*             </div>*/
/*           </div>*/
/*           <div class="form-group">*/
/*             <label class="col-sm-2 control-label" for="input-status">Button Height</label>*/
/*             <div class="col-sm-10">*/
/*              <input type="text" name="buy_now_height" class="form-control" value="{{buy_now_height }}" placeholder="Height in px">*/
/*             </div>*/
/*           </div>*/
/* 		           <div class="form-group">*/
/*             <label class="col-sm-2 control-label" for="input-status">Button Font Size</label>*/
/*             <div class="col-sm-10">*/
/*              <input type="text" name="buy_now_font_size" class="form-control" value="{{buy_now_font_size }}" placeholder="font size in px">*/
/*             </div>*/
/*           </div>*/
/* 		  */
/*         </form>*/
/*       </div>*/
/*     </div>*/
/*   </div>*/
/* </div>*/
/* <script src="view/javascript/bootstrap/colorpicker/jquery.minicolors.min.js" type="text/javascript"></script>*/
/* <link href="view/javascript/bootstrap/colorpicker/jquery.minicolors.css" type="text/css" rel="stylesheet"/>*/
/* <!--<link href="https://mjolnic.com/bootstrap-colorpicker/dist/css/bootstrap-colorpicker.min.css" rel="stylesheet">*/
/* <script src="https://mjolnic.com/bootstrap-colorpicker/dist/js/bootstrap-colorpicker.js"></script>-->*/
/* <script type="text/javascript">*/
/* $(function(){*/
/*   var colpick = $('.demo').each( function() {*/
/*     $(this).minicolors({*/
/*       control: $(this).attr('data-control') || 'hue',*/
/*       inline: $(this).attr('data-inline') === 'true',*/
/*       letterCase: 'lowercase',*/
/*       opacity: false,*/
/*       change: function(hex, opacity) {*/
/*         if(!hex) return;*/
/*         if(opacity) hex += ', ' + opacity;*/
/*         try {*/
/*           console.log(hex);*/
/*         } catch(e) {}*/
/*         $(this).select();*/
/*       },*/
/*       theme: 'bootstrap'*/
/*     });*/
/*   });*/
/*   */
/*   var $inlinehex = $('#inlinecolorhex h3 small');*/
/*   $('#inlinecolors').minicolors({*/
/*     inline: true,*/
/*     theme: 'bootstrap',*/
/*     change: function(hex) {*/
/*       if(!hex) return;*/
/*       $inlinehex.html(hex);*/
/*     }*/
/*   });*/
/* });*/
/* </script>*/
/* {{footer }}*/
/* */
