Browse Source

Fix pagination wrapper

Fixed pagination wrapper to `ul` and set its class to `pagination` (this way the paginator is twitter bootstrap friendly).
Òscar Casajuana 11 years ago
parent
commit
236a90cecd
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/Console/Templates/default/views/index.ctp

+ 2 - 2
src/Console/Templates/default/views/index.ctp

@@ -55,7 +55,7 @@ use Cake\Utility\Inflector;
 	?>
 	</table>
 	<p><?= "<?= \$this->Paginator->counter(); ?>"; ?></p>
-	<div class="paging">
+	<ul class="pagination">
 	<?php
 		echo "<?php\n";
 		echo "\t\techo \$this->Paginator->prev('< ' . __('previous'));\n";
@@ -63,7 +63,7 @@ use Cake\Utility\Inflector;
 		echo "\t\techo \$this->Paginator->next(__('next') . ' >');\n";
 		echo "\t?>\n";
 	?>
-	</div>
+	</ul>
 </div>
 <div class="actions">
 	<h3><?= "<?= __('Actions'); ?>"; ?></h3>