This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ul.pagination | |
li | |
- for (i <- (0 to totalPages + 1); p <- Seq(if (i == 0) (1, "«") else if (i == totalPages + 1) (totalPages, "»") else (i, i.toString))) | |
li | |
a(href={s.url(Controllers.members.indexUrl, "page" -> p._1)}) #{unescape(p._2)} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* ScaffoldFromDbTask - adapter of ScaffoldGenerator | |
* | |
* This task requires to add db setting files (application.conf) into classpath. | |
*/ | |
object ScaffoldFromDb { | |
import skinny._ | |
import skinny.task.generator._ | |
import scalikejdbc._ |
NewerOlder