{{ header }}
<div class="background-white bottom-margin-large">
  <div class="container-fluid">
    <div class="row no-space-xs">
      <div class="col-xs-12 col-sm col-md">
        <div class="content-box vertical-padding-large">
          <span class="text-x-large text-dark">{{ heading_title }}</span>
          <div class="adm-breadcrumb">
            {% for breadcrumb in breadcrumbs %}
							<i class="fas fa-angle-right text-x-small text-gray horizontal-padding-small"></i>
							<a href="{{ breadcrumb.href }}" class="text-x-small text-gray text-decoration-none">{{ breadcrumb.text }}</a>
            {% endfor %}
          </div>
        </div>
      </div>
      <div class="col-xs-12 col-sm-width-auto col-md-width-auto">
        <div class="content-box vertical-padding-large flex flex-row middle-xs">
          <a href="{{ cancel }}" class="btn-default btn-medium btn-outline right-margin-small">
            <span>{{ button_cancel }}</span>
          </a>
          <button type="button" class="btn-default btn-medium btn-primary js-submit-main-form">
            <span>{{ button_save }}</span>
          </button>
        </div>
      </div>
      {% if error_warning %}
        <div class="warning">{{ error_warning }}</div>
      {% endif %}
      {% if success %}
        <div class="success">{{ success }}</div>
      {% endif %}
    </div>
  </div>
</div>
<form action="{{ action }}" method="post" class="js-main-form">
  <div class="container-fluid">
    <div class="row no-space-xs">
      <div class="col-xs-12 col-md-6">
        <div class="background-white shadow-small padding-large">
          <label class="field field-medium">
            <span class="field-label">{{ text_newsletter_status }}</span>
            <select class="field-entry" name="newsletter_status" id="status">
              {% for key, status in Type_Status.getEnumList() %}
                <option value="{{ key }}" {{ ftr_geral.isSelected(key, newsletter_status, Type_Status.Tp_Desabilitado) }}>{{ status }}</option>
              {% endfor %}
            </select>
          </label>

          <label id="newsletter_name_label" class="checkbox checkbox-x-medium top-margin-large">
            <input type="checkbox" value="1" class="checkbox-entry" name="newsletter_name" {{ newsletter_name ? 'checked' : ''  }}>
            <span class="checkbox-text">{{ text_name }}</span>
          </label>

          <label id="newsletterfc_label" class="checkbox checkbox-x-medium top-margin-large">
            <input type="checkbox" value="1" class="checkbox-entry" name="newsletterfc_status" {{ newsletter_fc_status ? 'checked' : ''  }}>
            <span class="checkbox-text">{{ text_fc_newsletter }}</span>
          </label>
        </div>
      </div>
    </div>
  </div>
</form>
{{ footer }}
