= $this->formTag(['action' => "diff"], ['method' => 'get'], function(){ ?>
= $this->hiddenFieldTag("title", $this->params()->title) ?>
From |
To |
Date |
User |
Changes |
= $this->submitTag("Compare") ?> |
wiki_pages as $i => $wiki_page) : ?>
= $this->radioButtonTag("from", $wiki_page->version, $i == 1, ['id' => "from_".$wiki_page->version]) ?> |
= $this->radioButtonTag("to", $wiki_page->version, $i == 0, ['id' => "to_".$wiki_page->version]) ?> |
= $this->linkTo(date("Y-m-d H:i", strtotime($wiki_page->updated_at)), ['action' => "show", 'title' => $wiki_page->title, 'version' => $wiki_page->version]) ?> |
= $this->linkTo($wiki_page->author(), ['controller' => 'user', 'action' => 'show', 'id' => $wiki_page->user_id]) ?> |
= $this->page_change($wiki_page, $this->wiki_pages[$i + 1]) ?> |
= $this->partial("footer") ?>