<?php
namespace platyFramework;

/**
 * View 파일 입니다
 *
 * @var ptyFormModel $form
 * @var ptyTableItemModel $item
 */
?>
<section class="content-header">
    <h1>
        <?= $title ?>
        <small><?= $title_desc ?></small>
    </h1>
    <ol class="breadcrumb">
        <li><a href="<?= $this->request->appUrl ?>"><i class="fa fa-dashboard"></i> Home</a>
        </li>
    </ol>
</section>

<form class="form-horizontal" method="post" action="<?= $postUrl ?>" enctype="multipart/form-data">
    <section class="content">
        <div class="box box-primary">
            <div class="box-header with-border">
                <h3 class="box-title">기본 정보</h3>
                <div class="box-tools pull-right">
                    <button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i>
                    </button>
                </div>
            </div>
            <div class="box-body pad">
                <input type="hidden" name="id" value="<?= $item->id ?>">
                <?= $form->getInput("상호명", "companyName", "placeholder=''", "설정 > 하단에 노출됩니다"); ?>
                <?= $form->getInput("사업자 번호", "businessNumber", "placeholder='123-456-789'", "설정 > 하단에 노출됩니다"); ?>
                <?= $form->getInput("소재지", "companyAddress", "placeholder=''", "설정 > 하단에 노출됩니다"); ?>
                <?= $form->getInput("대표자", "companyOwnerName", "placeholder=''", "설정 > 하단에 노출됩니다"); ?>
                <?= $form->getInput("통신 판매업 번호", "commBusinessNumber", "placeholder=''", "설정 > 하단에 노출됩니다"); ?>
                <?= $form->getInput("고객문의 전화 번호", "askPhoneNumber"); ?>
            </div>
            <div class="box-footer">
                <button type="button" class="btn btn-default ptyGoBack pull-right">취소</button>
                <button type="submit" class="btn btn-info pull-left">저장</button>
            </div>
        </div>
    </section>
</form>
<script src="<?= $this->request->moduleUrl ?>/ptyadmin/resources/AdminLTE-2.4.5/bower_components/ckeditor/ckeditor.js"></script>