2017-02-25 19:13:55 +01:00
|
|
|
^{view}
|
2017-02-19 22:26:01 +01:00
|
|
|
|
|
|
|
<form method=post action=@{EditSubmissionR submissionId}#form enctype=#{formEnctype}>
|
|
|
|
^{formWidget}
|
|
|
|
<button .btn .btn-primary type="submit">
|
|
|
|
_{MsgSubmit} <span class="glyphicon glyphicon-upload"></span>
|
2017-04-03 12:22:52 +02:00
|
|
|
|
|
|
|
<hr>
|
|
|
|
|
|
|
|
<ul>
|
|
|
|
$forall (achievement, workingOnId) <- achievements
|
|
|
|
<li><a href=@{SubmissionForAchievementR submissionId workingOnId}>send to review for #{achievementName $ entityVal achievement} achievement
|
2018-06-27 13:09:11 +02:00
|
|
|
|
|
|
|
<h4>
|
|
|
|
|
|
|
|
$if submissionIsHidden submission == Just True
|
|
|
|
<p>Submission is hidden!
|
|
|
|
<p>
|
|
|
|
<a href=@{RestoreSubmissionR submissionId}>_{MsgRestoreSubmission}
|
|
|
|
$else
|
|
|
|
<p>
|
|
|
|
<a href=@{HideSubmissionR submissionId}>_{MsgRemoveSubmission}
|