<?php
namespace platyFramework;

/**
 * View 파일 입니다
 *
 * @var ptyForms $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 ?>">
                <div class='col-md-12'>
                    <?= $form->getTextEdit("회원 가입 약관", "memberJoin", "", ""); ?>
                    <div class="col-md-offset-2 col-md-10"><p>{appTitle} : 앱 명칭을 노출합니다.</p></div>
                    <div class="col-md-offset-2 col-md-10"><p>약관을 모두 삭제하면 기본 약관이 다시 노출됩니다.</p></div>
                </div>
                <div class='col-md-12'>
                    <?= $form->getTextEdit("개인정보취급방침", "memberPrivacy", "", ""); ?>
                    <div class="col-md-offset-2 col-md-10"><p>{appTitle} : 앱 명칭을 노출합니다.</p></div>
                </div>
            </div>
            <div class="box-footer">
                <button type="button" class="btn btn-default ptyGoBack pull-right">취소</button>
                <a target=_blank href='<?=$this->request->appUrl?>/../ptyterms/index/' type="button" class="margin-r-5  btn btn-primary pull-right">약관 페이지 보기</a>
                <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>