{% extends 'custom_admin_base.html' %}
{% load staticfiles %}
{% block content %}
    {% include 'custom_admin_user_sub.html' %}
    <form method="post" action="/company/register/" class="FormWrap" enctype="multipart/form-data"> {% csrf_token %}
        <div class="addSmartBI"><img src="{% static 'base/image/smartBI.png' %}"></div>
        {% if form.errors %}
            {{ form.errors }}
        {% endif %}
        {{ form }}
        <div class="Btn">
            <button id="postcodify_search_button" class="benderAddressBtn" type="button">주소 검색</button>
            <button class="cancelBtn" type="button" onclick="as.returnCompanyList()">목록</button>
            <button class="SaveBtn" type="submit">벤더등록</button>
        </div>
    </form>
{% endblock content %}
{% block extrascript %}
    <script src="//d1p7wdleee1q2z.cloudfront.net/post/search.min.js"></script>
    <script>
        $(function() { $("#postcodify_search_button").postcodifyPopUp(); });
    </script>
{% endblock extrascript %}