gonito/templates/achievements.hamlet

14 lines
368 B
Plaintext
Raw Permalink Normal View History

2017-02-26 21:40:38 +01:00
<h1>Achievements
2017-10-20 09:24:36 +02:00
^{Table.buildBootstrap (achievementsTable (checkIfAdmin mUser)) achievementInfos}
2017-02-26 21:40:38 +01:00
<hr>
$if (checkIfAdmin mUser)
<h2>Create a new achievement
<form method=post action=@{AchievementsR}#form enctype=#{formEnctype}>
^{formWidget}
<button .btn .btn-primary type="submit">
_{MsgSubmit} <span class="glyphicon glyphicon-upload"></span>