<?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->getInput("서비스명 (한글)", "appTitle", "", ""); ?>
                    <?= $form->getInput("서비스명 (영문)", "appName", "", "띄어쓰기 없이 입력하세요"); ?>
                    <?= $form->getInput("Apps API Access Token", "platyHouseAppsApiAccessToken", ""); ?>
                </div>
            </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>