This repository has been archived on 2024-10-25. You can view files and clone it, but cannot push or open issues or pull requests.
Sequenzia/app/views/pool/create.php

26 lines
896 B
PHP
Raw Normal View History

2013-10-27 01:06:58 +02:00
<h3><?=$this->t('.title') ?></h3>
<?= $this->formTag(['action' => "create"], ['level' => 'member'], function(){ ?>
<table class="form">
<tbody>
<tr>
<th><label for="pool_name"><?=$this->t('.name') ?></label></th>
<td><?= $this->textField('pool', 'name') ?></td>
</tr>
<tr>
<th><label for="pool_is_public"><?=$this->t('.is_public') ?></label></th>
<td><?= $this->checkBox("pool", "is_public") ?></td>
</tr>
<tr>
<th><label for="pool_description"><?=$this->t('.description') ?></label></th>
<td><?= $this->textArea('pool', 'description', ['size' => "40x10"]) ?></td>
</tr>
<tr>
<td colspan="2"><?= $this->submitTag($this->t('.save')) ?> <?= $this->buttonToFunction($this->t('.cancel'), "history.back()") ?></td>
</tr>
</tbody>
</table>
<?php }) ?>
<?= $this->partial("footer") ?>