Sequenzia/app/views/pool/_select_form.php

6 lines
339 B
PHP
Raw Normal View History

2013-10-27 01:06:58 +02:00
<?= $this->formTag("#add_post", function() { ?>
<?= $this->hiddenFieldTag("post_id", $this->params()->post_id) ?>
<?= $this->selectTag("pool_id", [$this->options, $this->last_pool_id]) ?>
<?= $this->buttonToFunction($this->t('.add'), "Pool.add_post({$this->params()->post_id}, \$F('pool_id'))", ['level' => 'member']) ?>
<?php }) ?>