Skip to content
This repository has been archived by the owner on Jul 23, 2021. It is now read-only.

Commit

Permalink
Merge pull request #84 from QoboLtd/improving-status-update-on-entries
Browse files Browse the repository at this point in the history
Remove repetitive form elements
  • Loading branch information
anvyst committed Sep 26, 2019
2 parents d732ea3 + a1b730c commit 179f751
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions src/Template/SurveyEntries/edit.ctp
Expand Up @@ -89,22 +89,5 @@ $entryStatuses = Configure::read('Survey.Options.statuses');
<?php $count++; ?>
<?php endforeach;?>
<?php endforeach;?>
<div class="box">
<div class="box-body">
<div class="row">
<div class="col-xs-12 col-md-6">
<?= $this->Form->control(
'SurveyEntries.status',
[
'options' => $entryStatuses,
'value' => $surveyEntry->get('status'),
'empty' => __('Choose Survey status')
]
) ?>
</div>
</div>
<?= $this->Form->button(__('Save'), ['class' => 'btn btn-success']) ?>
</div>
</div>
<?= $this->Form->end() ?>
</section>

0 comments on commit 179f751

Please sign in to comment.