{#**
 * 2007-2017 PrestaShop
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Open Software License (OSL 3.0)
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://opensource.org/licenses/osl-3.0.php
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@prestashop.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
 * versions in the future. If you wish to customize PrestaShop for your
 * needs please refer to http://www.prestashop.com for more information.
 *
 * @author    PrestaShop SA <contact@prestashop.com>
 * @copyright 2007-2017 PrestaShop SA
 * @license   http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
 * International Registered Trademark & Property of PrestaShop SA
 *#}
<form method="post" class="hide" data-hash="{{ hash }}" action="{{ action }}">
  <div class="alerts">
    <div class="hide alert alert-info">{{ notification_success }}</div>
    <div class="hide alert alert-danger">{{ notification_error }}</div>
  </div>
  <p><label class="verbatim"><strong>{{ translation_key }}</strong></label></p>
  <div class="form-group row{% if not is_translated %} has-warning{% endif %}">
    <div class="col-lg-12">
      <textarea class="form-control{% if not is_translated %} form-control-warning{% endif %}"
                rows="3"
                name="translation_value">
          {{- edited_translation_value -}}
      </textarea>
        <span class="breadcrumb">
          <small>
            {% for breadcrumb_part in breadcrumb_parts %}
              {{ breadcrumb_part|default(false) }}{% if not loop.last %} > {% endif %}
            {% endfor %}
        </small>
      </span>
    </div>
    <input type="hidden" name="domain" value="{{ domain }}"/>
    <input type="hidden" name="locale" value="{{ locale }}"/>
    <input type="hidden" name="default" value="{{ default_translation_value }}"/>
    <input type="hidden" name="theme" value="{{ theme }}"/>
    <input type="hidden" name="translation_key" value="{{ translation_key }}"/>
  </div>
  <div class="col-md-12 buttons">
    <input class="btn btn-primary btn-sm pull-right" type="submit" value="{{ label_edit }}"/>
    <input class="btn btn-tertiary-outline btn-sm pull-right reset-translation-value" type="button" value="{{ label_reset }}"/>
  </div>
</form>
