{{ header }}
<div class="ftr-container">
  <form id="form-store-rating" action="{{ action }}" method="post" enctype="multipart/form-data">
    <label for="lastname">
      <b>{{ text_rate_store }}</b>
    </label> 
    <div class="ftr-rating-change ftr-out-space--v-m">
      <label class="material-icons ftr-rating-change__label ftr-active-star{{ rating }}">
        &#xE838;
        <input type="radio" name="rating" value="1" {{ (rating == 1) ? 'checked' : '' }} class="ftr-rating-change__input ftr-hidden">
      </label>
      <label class="material-icons ftr-rating-change__label ftr-active-star{{ rating }}">
        &#xE838;
        <input type="radio" name="rating" value="2" {{ (rating == 2) ? 'checked' : '' }} class="ftr-rating-change__input ftr-hidden">
      </label>
      <label class="material-icons ftr-rating-change__label ftr-active-star{{ rating }}">
        &#xE838;
        <input type="radio" name="rating" value="3" {{ (rating == 3) ? 'checked' : '' }} class="ftr-rating-change__input ftr-hidden">
      </label>
      <label class="material-icons ftr-rating-change__label ftr-active-star{{ rating }}">
        &#xE838;
        <input type="radio" name="rating" value="4" {{ (rating == 4) ? 'checked' : '' }} class="ftr-rating-change__input ftr-hidden">
      </label>
      <label class="material-icons ftr-rating-change__label ftr-active-star{{ rating }}">
        &#xE838;
        <input type="radio" name="rating" value="5" {{ (rating == 5) ? 'checked' : '' }} class="ftr-rating-change__input ftr-hidden">
      </label>
    </div>
    
    <label class="ftr-field  {{ (error_text) ? 'error' : '' }}">
      <textarea id="text" name="text" rows="4" class="ftr-field__entry ftr-js-field__entry" data-value="{{ text }}" rows="6" required>{{ text }}</textarea>
      <span class="ftr-field__text">{{ text_what_do_you_think }}</span>
      {% if error_text %}
        <span class="ftr-field__error">{{ error_text }}</span>
      {% endif %}
    </label>
    <input class="ftr-radio" id="allow" type="radio" name="allow" value="1" {{ (allow == '1') ? 'checked' : '' }}>
    <label class="ftr-radio-label ftr-block" for="allow">
      <span class="ftr-radio-label__text">{{ text_allow }}</span>
    </label>
    <input class="ftr-radio" id="deny" type="radio" name="allow" value="0" {{ (allow == '0') ? 'checked' : '' }}>
    <label class="ftr-radio-label ftr-block" for="deny">
      <span class="ftr-radio-label__text">{{ text_deny }}</span>
    </label>
    
    <button type="submit" class="ftr-btn ftr-js-ripple-effect ftr-h--full ftr-background--primary">
      {{ text_send }}
    </button>
  </form>
</div>
{{ footer }}