{$layout "layout_popup"}

<!-- <h3>修改区域</h3> -->
<form class="ui form" method="post" data-tea-success="success" data-tea-action="$">
    <csrf-token></csrf-token>
    <input type="hidden" name="regionId" :value="region.id"/>
    <table class="ui table definition selectable">
        <tr>
            <td class="title">区域名称 *</td>
            <td>
                <input type="text" name="name" maxlength="100" ref="focus" v-model="region.name"/>
            </td>
        </tr>
        <tr>
            <td>区域说明</td>
            <td>
                <textarea name="description" rows="3" v-model="region.description" maxlength="200"></textarea>
            </td>
        </tr>
        <tr>
            <td colspan="2"><more-options-indicator></more-options-indicator></td>
        </tr>
        <tbody v-show="moreOptionsVisible">
            <tr>
                <td>启用</td>
                <td>
                    <checkbox name="isOn" v-model="region.isOn"></checkbox>
                </td>
            </tr>
        </tbody>
    </table>
    <submit-btn></submit-btn>
</form>