gonito/templates/challenge-discussion.hamlet

18 lines
482 B
Plaintext
Raw Normal View History

2016-05-03 08:46:10 +02:00
<p>
2016-05-03 12:29:56 +02:00
$maybe user <- maybeUser
<form method=post action=@{ChallengeDiscussionR name}#form enctype=#{formEnctype}>
^{formWidget}
<button .btn .btn-primary type="submit">
_{MsgSend} <span class="glyphicon glyphicon-upload"></span>
$nothing
<b>Log in to write a comment
2016-05-03 08:46:10 +02:00
2016-05-03 22:14:55 +02:00
<p>
<a href=@{ChallengeDiscussionFeedR name}>
<img src="/static/images/rss-icon.jpg">
2016-05-03 08:46:10 +02:00
<div .timeline-box>
$forall item <- sortedTimelineItems
^{timelineItemWidget item}