{% extends 'layui/edit.html' %}
{% load i18n common %}
{% block form_style %}padding: 10px;height:200px;{% endblock %}
{% block edit_form %}
  <form class="layui-form data-form" action="" method="post" enctype="multipart/form-data">
    {% csrf_token %}
    {% with adminform.form as f %}
      <div class="layui-form-item">
        {% layui_inline f.location_code %}
      </div>
      <div class="layui-form-item">
        {% layui_inline f.location_name %}
      </div>
      <div class="layui-form-item">
        {% layui_inline f.parent_location %}
      </div>
    {% endwith %}
  </form>
{% endblock %}
