<?php

use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;

/* reward/tier_form.twig */
class __TwigTemplate_4c9dc2051a5bc25bc7ad5e1501a9fcd3ae6b23555b030c642a880b10cb9c4dec extends \Twig\Template
{
    private $source;
    private $macros = [];

    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->source = $this->getSourceContext();

        $this->parent = false;

        $this->blocks = [
        ];
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        $macros = $this->macros;
        // line 1
        echo ($context["header"] ?? null);
        echo ($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-tier\" data-toggle=\"tooltip\" title=\"";
        // line 6
        echo ($context["button_save"] ?? null);
        echo "\" class=\"btn btn-primary\"><i class=\"fa fa-save\"></i></button>
        <a href=\"";
        // line 7
        echo ($context["cancel"] ?? null);
        echo "\" data-toggle=\"tooltip\" title=\"";
        echo ($context["button_cancel"] ?? null);
        echo "\" class=\"btn btn-default\"><i class=\"fa fa-reply\"></i></a></div>
      <h1>";
        // line 8
        echo ($context["heading_title"] ?? null);
        echo "</h1>
      <ul class=\"breadcrumb\">
        ";
        // line 10
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable(($context["breadcrumbs"] ?? null));
        foreach ($context['_seq'] as $context["_key"] => $context["breadcrumb"]) {
            // line 11
            echo "        <li><a href=\"";
            echo twig_get_attribute($this->env, $this->source, $context["breadcrumb"], "href", [], "any", false, false, false, 11);
            echo "\">";
            echo twig_get_attribute($this->env, $this->source, $context["breadcrumb"], "text", [], "any", false, false, false, 11);
            echo "</a></li>
        ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['breadcrumb'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 13
        echo "      </ul>
    </div>
  </div>
  <div class=\"container-fluid\">
    ";
        // line 17
        if (($context["error_warning"] ?? null)) {
            // line 18
            echo "    <div class=\"alert alert-danger alert-dismissible\"><i class=\"fa fa-exclamation-circle\"></i> ";
            echo ($context["error_warning"] ?? null);
            echo "
      <button type=\"button\" class=\"close\" data-dismiss=\"alert\">&times;</button>
    </div>
    ";
        }
        // line 22
        echo "    <div class=\"panel panel-default\">
      <div class=\"panel-heading\">
        <h3 class=\"panel-title\"><i class=\"fa fa-pencil\"></i> ";
        // line 24
        echo ($context["text_form"] ?? null);
        echo "</h3>
      </div>
      <div class=\"panel-body\">
        <form action=\"";
        // line 27
        echo ($context["action"] ?? null);
        echo "\" method=\"post\" enctype=\"multipart/form-data\" id=\"form-user\" class=\"form-horizontal\">
            <div class=\"form-group required\">
            <label class=\"col-sm-2 control-label\" for=\"input-title\">";
        // line 29
        echo ($context["entry_title"] ?? null);
        echo "</label>
            <div class=\"col-sm-10\">
              <input type=\"text\" name=\"title\" value=\"";
        // line 31
        echo ($context["title"] ?? null);
        echo "\" placeholder=\"";
        echo ($context["entry_title"] ?? null);
        echo "\" id=\"input-title\" class=\"form-control\" />
              ";
        // line 32
        if (($context["error_title"] ?? null)) {
            // line 33
            echo "              <div class=\"text-danger\">";
            echo ($context["error_title"] ?? null);
            echo "</div>
              ";
        }
        // line 35
        echo "            </div>
          </div>
          <div class=\"form-group required\">
            <label class=\"col-sm-2 control-label\" for=\"input-description\">";
        // line 38
        echo ($context["entry_description"] ?? null);
        echo "</label>
            <div class=\"col-sm-10\">
              <input type=\"text\" name=\"description\" value=\"";
        // line 40
        echo ($context["description"] ?? null);
        echo "\" placeholder=\"";
        echo ($context["entry_description"] ?? null);
        echo "\" id=\"input-description\" class=\"form-control\" />
              ";
        // line 41
        if (($context["error_description"] ?? null)) {
            // line 42
            echo "              <div class=\"text-danger\">";
            echo ($context["error_description"] ?? null);
            echo "</div>
              ";
        }
        // line 44
        echo "            </div>
          </div>
          <div class=\"form-group\">
            <label class=\"col-sm-2 control-label\" for=\"input-image\">";
        // line 47
        echo ($context["entry_image"] ?? null);
        echo "</label>
            <div class=\"col-sm-10\"><a href=\"\" id=\"thumb-image\" data-toggle=\"image\" class=\"img-thumbnail\"><img src=\"";
        // line 48
        echo ($context["thumb"] ?? null);
        echo "\" alt=\"\" title=\"\" data-placeholder=\"";
        echo ($context["placeholder"] ?? null);
        echo "\" /></a>
              <input type=\"hidden\" name=\"image\" value=\"";
        // line 49
        echo ($context["image"] ?? null);
        echo "\" id=\"input-image\" />
            </div>
          </div>
          <div class=\"form-group required\">
            <label class=\"col-sm-2 control-label\" for=\"input-tnc\">";
        // line 53
        echo ($context["entry_tnc"] ?? null);
        echo "</label>
            <div class=\"col-sm-10\">
              <input type=\"text\" name=\"tnc\" value=\"";
        // line 55
        echo ($context["tnc"] ?? null);
        echo "\" placeholder=\"";
        echo ($context["entry_tnc"] ?? null);
        echo "\" id=\"input-tnc\" class=\"form-control\" />
              ";
        // line 56
        if (($context["error_tnc"] ?? null)) {
            // line 57
            echo "              <div class=\"text-danger\">";
            echo ($context["error_tnc"] ?? null);
            echo "</div>
              ";
        }
        // line 59
        echo "            </div>
          </div>
          <div class=\"form-group required\">
            <label class=\"col-sm-2 control-label\" for=\"input-achieve_tier_amount\">";
        // line 62
        echo ($context["entry_achive_tier_amount"] ?? null);
        echo "</label>
            <div class=\"col-sm-10\">
              <input type=\"text\" name=\"achieve_tier_amount\" value=\"";
        // line 64
        echo ($context["achieve_tier_amount"] ?? null);
        echo "\" placeholder=\"";
        echo ($context["entry_achive_tier_amount"] ?? null);
        echo "\" id=\"input-achieve_tier_amount\" class=\"form-control\" />
              ";
        // line 65
        if (($context["error_achieve_tier_amount"] ?? null)) {
            // line 66
            echo "              <div class=\"text-danger\">";
            echo ($context["error_achieve_tier_amount"] ?? null);
            echo "</div>
              ";
        }
        // line 68
        echo "            </div>
          </div>
          <div class=\"form-group required\">
            <label class=\"col-sm-2 control-label\" for=\"input-maintain_tier_type\">";
        // line 71
        echo ($context["entry_maintain_tier_type"] ?? null);
        echo "</label>
            <div class=\"col-sm-10\">
              <input type=\"text\" name=\"maintain_tier_type\" value=\"";
        // line 73
        echo ($context["maintain_tier_type"] ?? null);
        echo "\" placeholder=\"";
        echo ($context["entry_maintain_tier_type"] ?? null);
        echo "\" id=\"input-maintain_tier_type\" class=\"form-control\" autocomplete=\"off\" />
              ";
        // line 74
        if (($context["error_maintain_tier_type"] ?? null)) {
            // line 75
            echo "              <div class=\"text-danger\">";
            echo ($context["error_maintain_tier_type"] ?? null);
            echo "</div>
              ";
        }
        // line 77
        echo "            </div>
          </div>
          <div class=\"form-group required\">
            <label class=\"col-sm-2 control-label\" for=\"input-maintain_tier_amount\">";
        // line 80
        echo ($context["entry_maintain_tier_amount"] ?? null);
        echo "</label>
            <div class=\"col-sm-10\">
              <input type=\"text\" name=\"maintain_tier_amount\" value=\"";
        // line 82
        echo ($context["maintain_tier_amount"] ?? null);
        echo "\" placeholder=\"";
        echo ($context["entry_maintain_tier_amount"] ?? null);
        echo "\" id=\"input-maintain_tier_amount\" class=\"form-control\" />
              ";
        // line 83
        if (($context["error_maintain_tier_amount"] ?? null)) {
            // line 84
            echo "              <div class=\"text-danger\">";
            echo ($context["error_maintain_tier_amount"] ?? null);
            echo "</div>
              ";
        }
        // line 86
        echo "            </div>
          </div>
          <div class=\"form-group required\">
            <label class=\"col-sm-2 control-label\" for=\"input-regular_multiplier_rate\">";
        // line 89
        echo ($context["entry_regular_multiplier_rate"] ?? null);
        echo "</label>
            <div class=\"col-sm-10\">
              <input type=\"text\" name=\"regular_multiplier_rate\" value=\"";
        // line 91
        echo ($context["regular_multiplier_rate"] ?? null);
        echo "\" placeholder=\"";
        echo ($context["entry_regular_multiplier_rate"] ?? null);
        echo "\" id=\"input-regular_multiplier_rate\" class=\"form-control\" />
              ";
        // line 92
        if (($context["error_regular_multiplier_rate"] ?? null)) {
            // line 93
            echo "              <div class=\"text-danger\">";
            echo ($context["error_regular_multiplier_rate"] ?? null);
            echo "</div>
              ";
        }
        // line 95
        echo "            </div>
          </div>
          <div class=\"form-group required\">
            <label class=\"col-sm-2 control-label\" for=\"input-sale_multiplier_rate\">";
        // line 98
        echo ($context["entry_sale_multiplier_rate"] ?? null);
        echo "</label>
            <div class=\"col-sm-10\">
              <input type=\"text\" name=\"sale_multiplier_rate\" value=\"";
        // line 100
        echo ($context["sale_multiplier_rate"] ?? null);
        echo "\" placeholder=\"";
        echo ($context["entry_sale_multiplier_rate"] ?? null);
        echo "\" id=\"input-sale_multiplier_rate\" class=\"form-control\" />
              ";
        // line 101
        if (($context["error_sale_multiplier_rate"] ?? null)) {
            // line 102
            echo "              <div class=\"text-danger\">";
            echo ($context["error_sale_multiplier_rate"] ?? null);
            echo "</div>
              ";
        }
        // line 104
        echo "            </div>
          </div>
           <div class=\"form-group required\">
            <label class=\"col-sm-2 control-label\" for=\"input-point_expiry_day\">";
        // line 107
        echo ($context["entry_point_expiry_day"] ?? null);
        echo "</label>
            <div class=\"col-sm-10\">
              <input type=\"text\" name=\"point_expiry_day\" value=\"";
        // line 109
        echo ($context["point_expiry_day"] ?? null);
        echo "\" placeholder=\"";
        echo ($context["entry_point_expiry_day"] ?? null);
        echo "\" id=\"input-point_expiry_day\" class=\"form-control\" />
              ";
        // line 110
        if (($context["error_point_expiry_day"] ?? null)) {
            // line 111
            echo "              <div class=\"text-danger\">";
            echo ($context["error_point_expiry_day"] ?? null);
            echo "</div>
              ";
        }
        // line 113
        echo "            </div>
          </div>
          <div class=\"form-group required\">
            <label class=\"col-sm-2 control-label\" for=\"input-tier_expiry_day\">";
        // line 116
        echo ($context["entry_tier_expiry_day"] ?? null);
        echo "</label>
            <div class=\"col-sm-10\">
              <input type=\"text\" name=\"tier_expiry_day\" value=\"";
        // line 118
        echo ($context["tier_expiry_day"] ?? null);
        echo "\" placeholder=\"";
        echo ($context["entry_tier_expiry_day"] ?? null);
        echo "\" id=\"input-tier_expiry_day\" class=\"form-control\" />
              ";
        // line 119
        if (($context["error_tier_expiry_day"] ?? null)) {
            // line 120
            echo "              <div class=\"text-danger\">";
            echo ($context["error_tier_expiry_day"] ?? null);
            echo "</div>
              ";
        }
        // line 122
        echo "            </div>
          </div>
          <div class=\"form-group required\">
            <label class=\"col-sm-2 control-label\" for=\"input-start_date\">";
        // line 125
        echo ($context["entry_start_date"] ?? null);
        echo "</label>
            <div class=\"col-sm-10\">
              <input type=\"text\" name=\"start_date\" value=\"";
        // line 127
        echo ($context["start_date"] ?? null);
        echo "\" placeholder=\"";
        echo ($context["entry_start_date"] ?? null);
        echo "\" id=\"input-start_date\" class=\"form-control\" />
              ";
        // line 128
        if (($context["error_start_date"] ?? null)) {
            // line 129
            echo "              <div class=\"text-danger\">";
            echo ($context["error_start_date"] ?? null);
            echo "</div>
              ";
        }
        // line 131
        echo "            </div>
          </div>
          <div class=\"form-group required\">
            <label class=\"col-sm-2 control-label\" for=\"input-end_date\">";
        // line 134
        echo ($context["entry_end_date"] ?? null);
        echo "</label>
            <div class=\"col-sm-10\">
              <input type=\"text\" name=\"end_date\" value=\"";
        // line 136
        echo ($context["end_date"] ?? null);
        echo "\" placeholder=\"";
        echo ($context["entry_end_date"] ?? null);
        echo "\" id=\"input-end_date\" class=\"form-control\" />
              ";
        // line 137
        if (($context["error_end_date"] ?? null)) {
            // line 138
            echo "              <div class=\"text-danger\">";
            echo ($context["error_end_date"] ?? null);
            echo "</div>
              ";
        }
        // line 140
        echo "            </div>
          </div>
          <div class=\"form-group\">
            <label class=\"col-sm-2 control-label\" for=\"input-status\">";
        // line 143
        echo ($context["entry_status"] ?? null);
        echo "</label>
            <div class=\"col-sm-10\">
              <select name=\"status\" id=\"input-status\" class=\"form-control\">
                ";
        // line 146
        if (($context["status"] ?? null)) {
            // line 147
            echo "                <option value=\"0\">";
            echo ($context["text_disabled"] ?? null);
            echo "</option>
                <option value=\"1\" selected=\"selected\">";
            // line 148
            echo ($context["text_enabled"] ?? null);
            echo "</option>
                ";
        } else {
            // line 150
            echo "                <option value=\"0\" selected=\"selected\">";
            echo ($context["text_disabled"] ?? null);
            echo "</option>
                <option value=\"1\">";
            // line 151
            echo ($context["text_enabled"] ?? null);
            echo "</option>
                ";
        }
        // line 153
        echo "              </select>
            </div>
          </div>
        </form>
      </div>
    </div>
  </div>
</div>
";
        // line 161
        echo ($context["footer"] ?? null);
        echo " ";
    }

    public function getTemplateName()
    {
        return "reward/tier_form.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  450 => 161,  440 => 153,  435 => 151,  430 => 150,  425 => 148,  420 => 147,  418 => 146,  412 => 143,  407 => 140,  401 => 138,  399 => 137,  393 => 136,  388 => 134,  383 => 131,  377 => 129,  375 => 128,  369 => 127,  364 => 125,  359 => 122,  353 => 120,  351 => 119,  345 => 118,  340 => 116,  335 => 113,  329 => 111,  327 => 110,  321 => 109,  316 => 107,  311 => 104,  305 => 102,  303 => 101,  297 => 100,  292 => 98,  287 => 95,  281 => 93,  279 => 92,  273 => 91,  268 => 89,  263 => 86,  257 => 84,  255 => 83,  249 => 82,  244 => 80,  239 => 77,  233 => 75,  231 => 74,  225 => 73,  220 => 71,  215 => 68,  209 => 66,  207 => 65,  201 => 64,  196 => 62,  191 => 59,  185 => 57,  183 => 56,  177 => 55,  172 => 53,  165 => 49,  159 => 48,  155 => 47,  150 => 44,  144 => 42,  142 => 41,  136 => 40,  131 => 38,  126 => 35,  120 => 33,  118 => 32,  112 => 31,  107 => 29,  102 => 27,  96 => 24,  92 => 22,  84 => 18,  82 => 17,  76 => 13,  65 => 11,  61 => 10,  56 => 8,  50 => 7,  46 => 6,  37 => 1,);
    }

    public function getSourceContext()
    {
        return new Source("", "reward/tier_form.twig", "");
    }
}
