hy-farm/muchang/backend/views/comm/notice_edit.php
2026-05-29 19:54:56 +08:00

20 lines
631 B
PHP

<div class="row">
<div class="col-lg-5">
<?php use yii\bootstrap\ActiveForm;
use yii\helpers\Html;
$form = ActiveForm::begin(['action' => ['/comm/notice-edit'], 'method' => 'post']); ?>
<?= $form->field($data, 'id')->textInput(['readonly' => true]) ?>
<?= $form->field($data, 'title')->textInput() ?>
<?= $form->field($data, 'message')->textarea(['rows' => '6']) ?>
<div class="form-group">
<?= Html::submitButton('提交', ['class' => 'btn btn-primary', 'name' => 'login-button']) ?>
</div>
<?php ActiveForm::end(); ?>
</div>
</div>