| Conditions | 1 |
| Paths | 1 |
| Total Lines | 20 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 43 | protected function renderModalContent() |
||
| 44 | { |
||
| 45 | $form = ActiveForm::begin([ |
||
| 46 | 'method' => 'post', |
||
| 47 | 'action' => ['account/update-note', 'id' => $this->model->id], |
||
| 48 | ]); |
||
| 49 | echo $form |
||
| 50 | ->field(new AccountNote(), 'note') |
||
| 51 | ->label(false) |
||
| 52 | ->textarea([ |
||
| 53 | 'maxlength' => true, |
||
| 54 | 'rows' => 5, |
||
| 55 | 'placeholder' => true, |
||
| 56 | 'autofocus' => true, |
||
| 57 | 'value' => $this->note, |
||
| 58 | ]); |
||
| 59 | |||
| 60 | echo Html::submitButton('Update', ['class' => 'btn btn-small btn-primary']); |
||
| 61 | |||
| 62 | ActiveForm::end(); |
||
| 63 | } |
||
| 71 | } |