= $this->formTag(['action' => "index"], ['method' => 'get'], function(){ ?>
= $this->textFieldTag("query", $this->params()->query) ?>
= $this->submitTag($this->t('.search')) ?>
= $this->submitTag($this->t('tag_alias.index.search')) ?>
= $this->formTag(['action' => "update"], function() { ?>
|
= $this->t('.predicate') ?> |
= $this->t('.consequent') ?> |
= $this->t('.reason') ?> |
is_mod_or_higher()) : ?>
= $this->buttonToFunction($this->t('.select_pending'), "$$('.pending').each(function(x) {x.checked = true})") ?>
= $this->submitTag($this->t('.approve')) ?>
= $this->buttonToFunction($this->t('.delete'), "$('reason-box').show(); $('reason').focus()") ?>
= $this->buttonToFunction($this->t('.add'), "$('add-box').show().scrollTo(); $('tag_implication_predicate').focus()") ?>
= $this->t('.reason') ?>
= $this->textFieldTag("reason", "", ['size' => 40]) ?>
= $this->submitTag($this->t('.delete')) ?>
|
implications as $i) : ?>
is_pending ? 'class="pending"' : null ?>> |
= $this->linkTo($this->h($i->predicate->name), ['controller' => "post", 'action' => "index", 'tags' => $i->predicate->name]) ?> (= $i->predicate->post_count ?>) |
= $this->linkTo($this->h($i->consequent->name), ['controller' => "post", 'action' => "index", 'tags' => $i->consequent->name]) ?> (= $i->consequent->post_count ?>) |
= $this->h($i->reason) ?> |
= $this->formTag(['action' => "create"], function() { ?>
= $this->t('.add_new.title') ?>
= $this->t('.add_new.info_moderation') ?>
= $this->t('.add_new.info') ?>
is_anonymous()) : ?>
= $this->hiddenFieldTag("tag_implication[creator_id]", current_user()->id) ?>
|
= $this->textField('tag_implication', 'predicate', ['size' => 40]) ?> |
|
= $this->textField('tag_implication', 'consequent', ['size' => 40]) ?> |
|
= $this->textArea('tag_implication', 'reason', ['size' => "40x2"]) ?> |
= $this->submitTag($this->t('.add_new.submit')) ?> |
= $this->willPaginate($this->implications) ?>
= $this->partial("tag/footer") ?>