{{ header }}
<header class="background-white bottom-margin-large">
  <div class="container-fluid">
    <div class="row no-space-xs">
      <div class="col-xs-12">
        <div class="content-box vertical-padding-large flex between-xs middle-xs">
          <div>
            <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 class="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>
          {% if error_warning %}<div class="warning full-width top-margin-medium">{{ error_warning }}</div>{% endif %}
          {% if success %}<div class="success full-width top-margin-medium">{{ success }}</div>{% endif %}
        </div>
      </div>
    </div>
  </div>
</header>
<div class="container-fluid">
  <div class="row">
    <div class="col-xs-12">
      <div class="content-box background-white padding-large shadow-small">
        <form action="{{ action }}" method="post" class="js-main-form">
          <div class="row">
            <div class="col-xs-12 col-md-6">
              <div class="field-group content-box">
                <input type="hidden" name="information_store[]" value="0">
                <label class="radio radio-medium radio-inline">
                  <input type="radio" name="status" class="radio-entry" value="1"{{ status ? ' checked' : '' }}>
                  <span class="radio-text">{{ text_enabled }}</span>
                </label>
                <label class="radio radio-medium radio-inline">
                  <input type="radio" name="status" class="radio-entry" value="0"{{ status ? '' : ' checked' }}>
                  <span class="radio-text">{{ text_disabled }}</span>
                </label>
              </div>
            </div>
            <div class="col-xs-12 col-md-6">
              <div class="content-box">
                <label class="checkbox checkbox-medium">
                  <input class="checkbox-entry" type="checkbox" name="bottom" value="1" {% if bottom %}checked{% endif %}>
                  <span class="checkbox-text">{{ entry_bottom }}</span>
                </label>
                <label class="checkbox checkbox-medium">
                  <input class="checkbox-entry" type="checkbox" name="displayapp" value="1" {% if displayapp %}checked{% endif %} >
                  <span class="checkbox-text">{{ entry_displayapp }}</span>
                </label>
              </div>
            </div>
            <div class="col-xs-12 col-md-6">
              <div class="field-group content-box">
                <label class="field-label">{{ entry_title }}</label>
                <input type="text" class="field-entry field-entry-medium" name="information_description[1][title]" size="100" value="{{ information_description[1] is defined  ? information_description[1].title : '' }}" />
                {% if error_title[1] is defined %}
                  <span class="field-error">{{ error_title[1] }}</span>
                {% endif %}
              </div>
            </div>
            <div class="col-xs-12 col-md-6">
              <div class="field-group content-box">
                <label class="field-label">{{ entry_sort_order }}</label>
                <input class="field-entry field-entry-medium mask-number-negative" type="text" name="sort_order" value="{{ sort_order }}" size="1" />
              </div>
            </div>
            <div class="col-xs-12">
              <div class="field-group content-box">
                <label class="field-label">{{ entry_keyword }}</label>
                <input type="text" name="keyword" class="field-entry field-entry-medium" value="{{ keyword }}" />
              </div>
            </div>
            <div class="col-xs-12">
              <div class="content-box">
                <label class="field-label">{{ entry_description }}</label>
                <textarea name="information_description[1][description]" id="description">{% if information_description[1] is defined %}{{ information_description[1].description }}{% endif %}</textarea>
                {% if error_description[1] is defined %}
                  <span class="field-error">{{ error_description[1] }}</span>
                {% endif %}
              </div>
            </div>
            <div class="col-xs-12">
              <div class="field-group content-box">
                <label class="field-label">{{ entry_meta_description }}</label>
                <textarea class="field-entry field-entry-medium" name="information_description[1][meta_description]" cols="40" rows="5">{% if information_description[1] is defined %}{{ information_description[1].meta_description }}{% endif %}</textarea>
              </div>
            </div>
            <div class="col-xs-12">
              <div class="field-group content-box">
                <label class="field-label">{{ entry_meta_keyword }}</label>
                <textarea class="field-entry field-entry-medium" name="information_description[1][meta_keyword]" cols="40" rows="5">{{ information_description[1] is defined ? information_description[1].meta_keyword : '' }}</textarea>
              </div>
            </div>
          </div>
        </form>
      </div>
    </div>
  </div>
</div>
{{ footer }}
