{{ 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 class="text-x-small text-gray text-decoration-none"
                href="{{ breadcrumb.href }}">{{ breadcrumb.text }}</a>
              {% endfor %}
            </div>
          </div>
        </div>
        {% if error_warning %}
          <div class="warning full-width">{{ error_warning }}</div>
        {% endif %}
      </div>
    </div>
  </div>
</header>
<div class="container-fluid">
  <div class="row no-space-xs middle-xs">
    <div class="col-xs-12 col-md-8">
      <div
        class="content-box visible-block text-decoration-none background-white shadow-small bottom-margin-small padding-medium">
        <form action="{{ action }}" method="post" class="js-main-form">

          <div class="col-xs-12">
            <div class="content-box">
              <label class="field field-medium">
                <span class="field-label required">{{ entry_name }}
                  <input class="field-entry" type="text" name="name" value="{{ name }} " readonly>
                  {% if error_name %}
                    <span class="text-error text-small">{{ error_name }}</span>
                  {% endif %}
                </span>
              </label>
            </div>
          </div>

          <div class="col-xs-12">
            <div class="content-box">
              <label class="field field-medium">
                <span class="field-label required">{{ entry_code }}
                  <input class="field-entry" type="text" name="code" value="{{ code }}" readonly/>
                  {% if error_code %}
                    <span class="text-error text-small">{{ error_code }} kkk</span>
                  {% endif %}
                </span>
              </label>
            </div>
          </div>

          <div class="col-xs-12">
            <div class="content-box">
              <label class="field field-medium">
                <span class="field-label required">{{ entry_locale }}
                  <input class="field-entry"  type="text" name="locale" value="{{ locale }}" readonly/>
                  {% if error_locale %}
                    <span class="text-error text-small">{{ error_locale }}</span>
                  {% endif %}
                </span>
              </label>
            </div>
          </div>

          <div class="col-xs-12">
            <div class="content-box">
              <label class="field field-medium">
                <span class="field-label required">{{ entry_image }}
                  <input class="field-entry"  type="text" name="image" value="{{ image }}" readonly/>
                  {% if error_image %}
                  <span class="text-error text-small">{{ error_image }}</span>
                  {% endif %}
                </span>
              </label>
            </div>
          </div>

          <div class="col-xs-12">
            <div class="content-box">
              <label class="field field-medium">
                <span class="field-label required">{{ entry_directory }}
                  <input class="field-entry"  type="text" name="directory" value="{{ directory }}" readonly/>
                  {% if error_directory %}
                    <span class="text-error text-small">{{ error_directory }}</span>
                  {% endif %}
                  </span>
              </label>
            </div>
          </div>

          <div class="col-xs-12">
            <div class="content-box">
              <label class="field field-medium">
                <span class="field-label required">{{ entry_filename }}
                  <input class="field-entry"  type="text" name="filename" value="{{ filename }}" readonly/>
                  {% if error_filename %}
                    <span class="text-error text-small">{{ error_filename }}</span>
                  {% endif %}
                  </span>
              </label>
            </div>
          </div>

          <div class="col-xs-12">
            <div class="content-box">
              <label class="field field-medium">
                <span class="field-label">{{ entry_status }}
                  <select class="field-entry" name="status" readonly>
                    {% for status in statuses %}
                      <option value="{{ status.id }}" {{ status.status }}>
                        {{ status.name }}
                      </option>
                    {% endfor %}
                  </select>
                </span>
              </label>
            </div>
          </div>

          <div class="col-xs-12">
            <div class="content-box">
              <label class="field field-medium">
                <span class="field-label">{{ entry_sort_order }}
                  <input class="field-entry"  type="text" name="sort_order" value="{{ sort_order }}" size="1" readonly/>
                </span>
              </label>
            </div>
          </div>

        </form>
      </div>
    </div>
  </div>
</div>
{{ footer }}