Created
May 28, 2017 23:10
-
-
Save gustavocp/602dbbfb04a6ee8fec9b4be6efb9ed97 to your computer and use it in GitHub Desktop.
add (projects)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @var \App\View\AppView $this | |
*/ | |
?> | |
<div class="tasks form"> | |
<?= $this->Form->create($task) ?> | |
<fieldset> | |
<legend><?= __('Add Task') ?></legend> | |
<?php | |
echo $this->Form->input('name'); | |
echo $this->Form->input('description'); | |
echo $this->Form->input('user_id', ['options' => $users]); | |
echo $this->Form->input('project_id', ['options' => $projects]); | |
echo $this->Form->input('points'); | |
echo $this->Form->input('status'); | |
?> | |
</fieldset> | |
<?= $this->Form->button(__('Submit'), ['class' => 'btn btn-success']) ?> | |
<?= $this->Html->link('Cancel', ['action' => 'index'], ['class' => 'btn btn-default'])?> | |
<?= $this->Form->end() ?> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment