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/update.php

36 lines
1.2 KiB
PHP
Raw Normal View History

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