<div id="restaurant">

<h2 class="title mt-4">
      <label for="commerce_tag_value__cuisine">
      <i class="bi bi-fork-knife"></i>
      {{'display.keys.cuisine'|trans}}</label>
  </h2>


<div class="row mb-3"> 
    
  <div class="col-12 p-4">
      <input type="text" class="form-control d-none" name="commerce_tag_value__cuisine" 
              placeholder="french;italian" 
              value="{% if commerce.tags_converted.cuisine is defined %}{{ commerce.tags_converted.cuisine }}{% endif %}">
      <small class="form-text text-muted">{{'display.help.cuisine'|trans}}</small>
      <div class="form-check">
        <input class="form-check-input col-2" type="checkbox" name="cuisine_type" id="cuisine_chinoise" value="chinese" {% if commerce.tags_converted.cuisine is defined and 'chinese' in commerce.tags_converted.cuisine %}checked{% endif %}>
        <label class="form-check-label col-12" for="cuisine_chinoise">Chinoise</label>
      </div>
      <div class="form-check">
        <input class="form-check-input col-2" type="checkbox" name="cuisine_type" id="cuisine_coreenne" value="korean" {% if commerce.tags_converted.cuisine is defined and 'korean' in commerce.tags_converted.cuisine %}checked{% endif %}>
        <label class="form-check-label col-12" for="cuisine_coreenne">Coréenne</label>
      </div>
      <div class="form-check">
        <input class="form-check-input col-2" type="checkbox" name="cuisine_type" id="cuisine_francaise" value="french" {% if commerce.tags_converted.cuisine is defined and 'french' in commerce.tags_converted.cuisine %}checked{% endif %}>
        <label class="form-check-label col-12" for="cuisine_francaise">Française</label>
      </div>
      <div class="form-check">
        <input class="form-check-input col-2" type="checkbox" name="cuisine_type" id="cuisine_indienne" value="indian" {% if commerce.tags_converted.cuisine is defined and 'indian' in commerce.tags_converted.cuisine %}checked{% endif %}>
        <label class="form-check-label col-12" for="cuisine_indienne">Indienne</label>
      </div>
      <div class="form-check">
        <input class="form-check-input col-2" type="checkbox" name="cuisine_type" id="cuisine_italienne" value="italian" {% if commerce.tags_converted.cuisine is defined and 'italian' in commerce.tags_converted.cuisine %}checked{% endif %}>
        <label class="form-check-label col-12" for="cuisine_italienne">Italienne</label>
      </div>
      <div class="form-check">
        <input class="form-check-input col-2" type="checkbox" name="cuisine_type" id="cuisine_japonaise" value="japanese" {% if commerce.tags_converted.cuisine is defined and 'japanese' in commerce.tags_converted.cuisine %}checked{% endif %}>
        <label class="form-check-label col-12" for="cuisine_japonaise">Japonaise</label>
      </div>
      <div class="form-check">
        <input class="form-check-input col-2" type="checkbox" name="cuisine_type" id="cuisine_libanaise" value="lebanese" {% if commerce.tags_converted.cuisine is defined and 'lebanese' in commerce.tags_converted.cuisine %}checked{% endif %}>
        <label class="form-check-label col-12" for="cuisine_libanaise">Libanaise</label>
      </div>
      <div class="form-check">
        <input class="form-check-input col-2" type="checkbox" name="cuisine_type" id="cuisine_thailandaise" value="thai" {% if commerce.tags_converted.cuisine is defined and 'thai' in commerce.tags_converted.cuisine %}checked{% endif %}>
        <label class="form-check-label col-12" for="cuisine_thailandaise">Thaïlandaise</label>
      </div>
      <div class="form-check">
        <input class="form-check-input col-2" type="checkbox" name="cuisine_type" id="cuisine_turque" value="turkish" {% if commerce.tags_converted.cuisine is defined and 'turkish' in commerce.tags_converted.cuisine %}checked{% endif %}>
        <label class="form-check-label col-12" for="cuisine_turque">Turque</label>
      </div>
      <div class="form-check">
        <input class="form-check-input col-2" type="checkbox" name="cuisine_type" id="cuisine_pizza" value="pizza" {% if commerce.tags_converted.cuisine is defined and 'pizza' in commerce.tags_converted.cuisine %}checked{% endif %}>
        <label class="form-check-label col-12" for="cuisine_pizza">Pizza</label>
      </div>
      <div class="form-check">
        <input class="form-check-input col-2" type="checkbox" name="cuisine_type" id="cuisine_kebab" value="kebab" {% if commerce.tags_converted.cuisine is defined and 'kebab' in commerce.tags_converted.cuisine %}checked{% endif %}>
        <label class="form-check-label col-12" for="cuisine_kebab">Kebab</label>
      </div>
  <div class="mb-3">
    <label for="commerce_tag_value__description_cuisine" class="form-label">Description de la cuisine</label>
    <textarea 
      class="form-control" 
      id="commerce_tag_value__description_cuisine" 
      name="commerce_tag_value__description:cuisine" 
      rows="2"
      placeholder="Exemple : Spécialités maison, plats végétariens, ambiance, etc.">{% if commerce.tags_converted['description:cuisine'] is defined %}{{ commerce.tags_converted['description:cuisine'] }}{% endif %}</textarea>
    <small class="form-text text-muted">Décrivez brièvement le type de cuisine, les spécialités ou toute information utile sur la cuisine proposée.</small>
  </div>
  </div>

<div class="row">
  <h3 class="title mt-4">
      <label for="commerce_tag_value__takeaway">
      <i class="bi bi-cart-check"></i>
      {{'display.keys.takeaway'|trans}}</label>
  </h3>

  <div class="p-4">
        <div class="form-check">
          <input class="form-check-input" type="radio" name="commerce_tag_value__takeaway" id="takeaway_yes" value="yes" {% if commerce.tags_converted.takeaway is defined and commerce.tags_converted.takeaway == 'yes' %}checked{% endif %}>
          <label class="form-check-label" for="takeaway_yes">Oui mais pas uniquement à emporter</label>
        </div>
        <div class="form-check">
          <input class="form-check-input" type="radio" name="commerce_tag_value__takeaway" id="takeaway_only" value="only" {% if commerce.tags_converted.takeaway is defined and commerce.tags_converted.takeaway == 'only' %}checked{% endif %}>
          <label class="form-check-label" for="takeaway_only">Uniquement à emporter</label>
        </div>
        <div class="form-check">
          <input class="form-check-input" type="radio" name="commerce_tag_value__takeaway" id="takeaway_no" value="no" {% if commerce.tags_converted.takeaway is defined and commerce.tags_converted.takeaway == 'no' %}checked{% endif %}>
          <label class="form-check-label" for="takeaway_no">Nous ne proposons pas d'emporter les plats</label>
        </div>
        <div class="form-check">
          <input class="form-check-input" type="radio" name="commerce_tag_value__takeaway" id="takeaway_unknown" value="" {% if commerce.tags_converted.takeaway is not defined or commerce.tags_converted.takeaway == '' %}checked{% endif %}>
          <label class="form-check-label" for="takeaway_unknown">Je ne sais pas</label>
        </div>
  </div>      
</div>

</div>