<div>
  <div class="js-adm-modal-container adm-modal-container-full">
    <div class="adm-modal-header">
      <div class="flex between-xs">
        <div class="padding-large">
          <span class="text-x-large text-dark text-bold">Configurações Galeria Pagé</span>
        </div>
        <i class="fas fa-times text-small text-dark padding-large cursor-pointer js-adm-modal-close"></i>
      </div>
    </div>
    <div class="adm-modal-content horizontal-padding-large">
      <form id="js-galeriapagefichatecnica" action="{{ action }}" method="post" enctype="multipart/form-data">
        <input type="hidden" name="redirect" value="{{ redirect }}"/>
        <div class="row small-space-xs">
          <div class="col-xs-12 form unique_produto" id="tabela_temp">
            <span class="text-large">{{ products[0].name }}</span>
            <input type="hidden" name="product_id" id="idproduto" value="{{ products[0].product_key_id }}"/>
            <input type="hidden" name="type_product[{{ products[0].product_key_id }}]" value="{{ type_product }}"/>
            <hr class="top-margin-medium">
          </div>
          <div class="col-xs-12 field-group">
            <label for="custom_title" class="field-label">{{ text_custom_title }}</label>
            <input type="text" name="custom_title" id="custom_title" value="{{ mkt_custom_title }}"
                   class="field-entry field-entry-medium" {{ custom_title_enabled }}/>
          </div>

          <div class="col-xs-6 field-group">
            <label for="" class="field-label">{{ text_table_price }}</label>
            <select name="merca_table_price" class="field-entry field-entry-medium">
              {% for marketplace_price in marketplace_prices %}
                <option value="{{ marketplace_price.getMarketplacePriceId() }}" {{ ((marketplace_price_id != '' and marketplace_price.getMarketplacePriceId() == marketplace_price_id) or (marketplace_price_id == '' and marketplace_price.getStandard())) ? 'selected' : '' }} >{{ marketplace_price.title }}</option>
              {% endfor %}
            </select>
          </div>

          <div class="col-xs-6 field-group">
            <label for="" class="field-label">{{ text_department }}</label>
            <select name="gp_department_id" class="field-entry field-entry-medium">
              {% for department in department_array %}
                <option value="{{ department.value }}" {{ department.active }}>{{ department.label }}</option>
              {% endfor %}
            </select>
          </div>
          <div class="col-xs-6 field-group">
            <label for="" class="field-label">{{ text_category }}</label>
            <select name="gp_category_id" class="field-entry field-entry-medium" {{ category_enabled }}>
                {% for category in category_array %}
                  <option value="{{ category.value }}" {{ category.active }}>{{ category.label }}</option>
                {% endfor %}
            </select>
          </div>
          <div class="col-xs-6 field-group">
            <label for="" class="field-label">{{ text_subcategory }}</label>
            <select name="gp_subcategory_id" class="field-entry field-entry-medium" {{ subcategory_enabled }}>
                {% for subcategory in subcategory_array %}
                  <option value="{{ subcategory.value }}" {{ subcategory.active }}>{{ subcategory.label }}</option>
                {% endfor %}
            </select>
          </div>
        </div>
        <div class="adm-modal-footer padding-large">
          <div class="flex end-xs">
            <button type="button" class="btn-default btn-medium btn-outline right-margin-small js-adm-modal-close">
              <span>{{ button_cancel }}</span>
            </button>
            <button type="button" class="btn-default btn-medium btn-primary js-modal-save"
                    data-sincro="{{ product_marketId }}">
              <span>{{ button_save }}</span>
            </button>
          </div>
        </div>
      </form>
    </div>
  </div>

  <script src="view/javascript/template/module/bulksetting-galeriapage.js"></script>

</div>