?> </div> <?php } ?> <form action="" method="post"> <div class="form-group <?php if (!empty($errors['s'])) { echo 'has-error'; } ?> "> <label class="control-label">s</label> <input type="text" class="form-control" name="s" placeholder="例: hogehoge" <?php if (isset($form_model) && !empty($form_model->getS())) { echo 'value="' . $form_model->getS() . '"'; } ?> > </div> <div class="form-group <?php if (!empty($errors['n'])) { echo 'has-error'; } ?> "> <label class="control-label">n</label> <input type="text" class="form-control" name="n" placeholder="例: 4" <?php if (isset($form_model) && !empty($form_model->getN())) {